[PLUG] Need a vi command...
Siobhan Elliott
siobhan at spiderland.net
Sat Aug 23 16:43:02 UTC 2003
begin electrogrammati illius Michael C. Robinson:
> 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.
:%s/\.$//g
-Siobhan
--
Yes, but the ports people are into S&M.--theo de raadt
More information about the PLUG
mailing list