Tryig to help a lister on another group rename a few thousand
files. As the last step I need to line number a text file but then move
the line number to the end of each line. In other words go from lines
like 

1234 mv oldfilenane newprefix
to
mv oldfilename newprefix1234

Adding the suffix in a subsequent step is trivial:
:%s/$/.jpg/

The other person uses Ubuntu.

-- 
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html

"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to