Solved

explain mo operation

Posted on 2004-08-14
5
267 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now