[olug] VIM help
Sam Deel
sdeel at home.com
Mon Feb 19 19:24:43 UTC 2001
might try
:%/patern/d
-- sad
Rado Bonk wrote:
>
> Hello Linux users,
> I am working with big ASCII files. There is just one column of data in
> each file. I need to delete lines with the specific string. If I use in
> VIM:
> :%s/string// or :%s/^string//
>
> the string is deletd but the line (empty) is still in the file. I need to
> delete the entire line. Something like "\n" would help. I use VIM for
> ASCII file editing.
> Sincerely,
> Rado
>
> Rado Bonk
> Geography and Geology
> UNO, Omaha, NE 68182-0199
> rado at cosmos.unomaha.edu
> http://rbonk.host.sk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list