[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Remove ^M characters from xhtml file
- Subject: Remove ^M characters from xhtml file
- From: parv at pair.com (parv)
- Date: Tue Dec 2 23:41:38 2003
in message <20031203023235_(_dot_)_GB88571_(_at_)_web_(_dot_)_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
--
Visit your host, monkey.org