Solved

explain mo operation

Posted on 2004-08-14
5
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

630 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