08-19-04 10:58 PM
rgaffuri@cox.net (Ryan Gaffuri) writes:
> I have a file of the form
>
> hello|goodbye|hello /n goodbye| /n
>
> I need to remove all /n accept for the one at the end of the line.
sed 's,/n\(.\),\1,g' <infile >outfile
--
Måns Rullgård
mru@mru.ath.cx
[ Post a follow-up to this message ]
|