> How do I get rid of Control-M at the end of each line in a dos > text file imported to Debian? Haven't seen this posted yet: tr -d "\r" < infile > outfile It will delete CTRL-M throughout the file though, not just the end of each line. Scott
- Getting rid of Control-M in a file? Lars Jensen
- Re: Getting rid of Control-M in a file? kmself
- Re: Getting rid of Control-M in a file? Bud Rogers
- Re: Getting rid of Control-M in a file? Christoph Groth
- Re: Getting rid of Control-M in a file? Bud Rogers
- Re: Getting rid of Control-M in a file? will trillich
- Re: Getting rid of Control-M in a file? Albrecht Frank
- Re: Getting rid of Control-M in a file? R. Wood
- Scott_Patterson