Linux-Hams archive - June 1997: Re: Converting ^M to <LF>

Re: Converting ^M to <LF>

Carl Makin (dnkl@evolva.ro)
Sun, 1 Jun 97 23:05:46 +1000


>> etc... Any way to get rid of the ^M ????

> But the fromdos/fromunix and dos2unix/unix2dos filters do it very well.

Try

tr -d "\r" < input-file > output-file

Carl.

--
Carl Makin (vk1kcm)
reh.fhthgpvj@tameside.sch.uk