On Tue, Jan 12, 1999 at 03:48:31PM +0000, M.C. Vernon wrote: > On Tue, 12 Jan 1999, Brandon Mitchell wrote: > > > sed 's/^M//g' <badfile >goodfile > > > > Replace badfile and goodfile appropriately. > > Generate the ^M in bash with <cont><v> <cont><m> > > Thanks - that's what I couldn't figure out. It's nice to know I was trying > to use sed the right way :)
Just to confirm that Unix has lots of ways to do such simple things :-) don't forget the following: tr -d '\015' < badfile > goodfile Hamish -- Hamish Moffatt VK3TYD [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org