tennant@xanth.msfc.nasa.gov (Allyn F. Tennant - ES65) (03/14/91)
I got this off the comp.sys.aix newsgroup last week. To strip all extra control-M's and the final control-Z from a DOS file, use the following script: tr -d '\015\032' <infile >outfile (Sorry I don't know the trick for putting the characters back, i.e., to go the other way. Allyn