[Novalug] vi question
jhart at kevla.org
Sat Apr 11 16:44:52 EDT 2009
I'm sure a simple perl script would do what you need. Anyone game to try and
help Charlie out? My perl is very rusty.
Can you post a small snippet of the file for me to see?
> I have a fairly length text file that I created using vi. It consists of
> data, one line, then, usually but not always a blank line. I wish to add
> two spaces at the beginning of eac line, but I would prefer not to put
> them in the blank lines. How can I do this? Fwiw, I have a copy of
> "Linux in a Nutshell", 5th edition, which has a chapter on vi. (If you
> can tell me what page the info is on, that would be a bonus.)
> Novalug mailing list
> Novalug at calypso.tux.org
More information about the Novalug