I always like to simply use:
perl -pi -e 's/\r//' <filename(s)> I have this line posted im my work-area, along with the Java solution... The Java solution is > 40 lines and imports several libraries... Brent Booher Timothy B 1stLt AFRL/MNAC To: [EMAIL PROTECTED] <timothy.booher@egl cc: in.af.mil> Subject: perl script to remove control M's 12/05/01 04:32 PM I have what seems to be a persistent problem with all files that I import from dos into emacs. I have those control M's all over the place. Does anyone know of a perl script to 'clean' these files? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]