[PLUG] Need a vi command...

Michael C. Robinson michael at goose.robinson-west.com
Sat Aug 23 16:07:02 UTC 2003


I have a log file from installation and I want to strip the trailing
period on each line.  I've already cut all the lines to get rid of
the installing and I've sorted as well.  I've formatting this to
compare against what I currently have installed output by an rpm -qa. 
I am looking for what I uninstalled that could cause the current
problems I'm seeing.

     --  Michael

So far I've tried '1,$s/\.\n/\n/g,' which causes an ^@ to be substituted
instead of a newline.




More information about the PLUG mailing list