Solved

explain mo operation

Posted on 2004-08-14
5
282 Views
Last Modified: 2010-05-18
HI,
please explain me the mechanism followed by the command mo that is used for move.i am facing the problem while i issue the command like
1,5 mo 2.
it says something move to themselves.
while it is working with the last no of range and  other then range.i am confused.help me out.
thanks in advance.
0
Comment
Question by:decentswati
5 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 11801843
I believe that this is a CAD command:

http://www.wrcad.com/manual/xicmanual/node399.html

Please can you detail what application you are trying this in.

In Linux, the move command for files is mv

mv --help

for more information
0
 
LVL 1

Author Comment

by:decentswati
ID: 11806769
Hi,
it is in the context of vi where we use 'mo' to move lines.
0
 
LVL 22

Accepted Solution

by:
NovaDenizen earned 50 total points
ID: 11810226
On my vi I try ":1,5 mo 2" and it says "Move to a moved line".  

"1,5" is source address range, meaning lines 1 through 5.
"mo" is the move command
"2" is the destination, the line after which the source lines will be inserted.

So, your command is telling vi to take likes 1 through 5, then move them to right after line 2.  That doesn't make sense because the destination is within the source range, one of the lines being moved.  Hence "Move to a moved line"

What were you intending for this command to do?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question