[Novalug] vi question

Charles M Howe cmhowe@patriot.net
Sat Apr 11 16:37:07 EDT 2009


List,

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.)

Charlie





More information about the Novalug mailing list