[SunHELP] Those damn ^M's

sunhelp at sunhelp.org sunhelp at sunhelp.org
Wed Nov 7 06:56:08 CST 2001


"Herman, David" wrote:
> 
> Remove annoying ^M characters from ascii files generated by an ftp from
> windows:
> 
> esc : 1 , $ s / ctl-v ctl-m / / g               {{ in a vi session - but
> with no spaces}}

Um, command line is quicker;

tr -d '\015' < file.in > file.out


---sambo



More information about the SunHELP mailing list