Remove ^M characters from xhtml file

parv parv at pair.com
Tue Dec 2 23:40:39 PST 2003


in message <20031203023235.GB88571 at web.ca>,
wrote Rob Ellis thusly...
>
> On Tue, Dec 02, 2003 at 05:53:59PM -0500, parv wrote:
> > 
> > It pains me not to see even a mention of sed ...  To rectify the
> > situation...
> > 
> >   sed -e 's/^M$//' old > new && mv -f new old
> > 
> 
> Freebsd's sed has -i
> 
>   sed -ie 's/^M$//' old

I forgot about that; thanks for the reminder.


  - Parv

-- 



More information about the freebsd-questions mailing list