Gossamer Forum
Home : Products : Gossamer Links : Discussions :

vi - line numbers!

Quote Reply
vi - line numbers!
Hi Guys,

I'm on my way to do a new import of the dmoz data, it was some time since my last import and I'm totally lost about the right vi command to save a range of a file based on line numbers. Any ideas...

All the best / Soobe
Quote Reply
Re: [soobe] vi - line numbers! In reply to
Hi,

Type V to start highlighting. Then press ctrl-D to scroll down and it will highlight as it goes. Then press :w filenam.txt to save the selected section to a new file.

Cheers,

Alex
--
Gossamer Threads Inc.