On Tue, 13 Jul 2004 13:20:39 +1200 (NZST)
[EMAIL PROTECTED] wrote:

> Quoting Nick Rout <[EMAIL PROTECTED]>: 
>  
> > to delete every crlf to a space. 
> >  
> > tried  
> >  
> > sed 's/\015\012/" "/' dbcontents.txt >dbcontents2.txt and 
> > sed 's/\015\012/\024/' dbcontents.txt >dbcontents2.txt and 
> How about something like 
>  
> cat dbcontents.txt | tr -d "\015" | tr "\012" ' ' > dbcontents2.txt 

won't that delete every \012. I only want where \015 and \012 are
consecutive

but i will play with tr thanks


>  
> Seems to work for me. 
>  
> -- 
> C. Sawtell 
>  

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to