Nick Rout wrote: > 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 > > > and some variations.
Ummm..... cat foo | tr '\n' ' '
Nick Rout wrote: > 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 > > > and some variations.
Ummm..... cat foo | tr '\n' ' '