On Tue, 13 Jul 2004 13:31:57 +1200
Carl Cerecke <[EMAIL PROTECTED]> wrote:

> > How about something like 
> >  
> > cat dbcontents.txt | tr -d "\015" | tr "\012" ' ' > dbcontents2.txt 
> >  
> > Seems to work for me. 
> 
> Unless you have single \015s or single \012s that you don't want 
> converted/deleted, and only want to space-ify the crlf duo.
> 
> Cheers,
> Carl.

exactly...

cat dbcontents.txt |tr -d "\015\012" >dbcontents2.txt also seems to get
rid of every combination as well as the solo \012's, which is NOT what I
want.


-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to