Getting SED is garbled

January 28, 2011 at 19:12:41
Specs: Solaris 10
getting sed is garbled for sed -n 'H;${g;s/\n/ /g;p}' .

I want to remove carriage returns.

Operating system Soalris 10

See More: Getting SED is garbled

Report •

January 30, 2011 at 20:18:03
By removing carriage returns, I am assuming you want all the lines on the file on one line?

If so, why not use one of these solutions:

xargs echo < file.txt

paste -s -d '\0' file.txt

Report •
Related Solutions

Ask Question