Stripping "hard returns" from UNIX mail files

David Daniel tronix at polari.UUCP
Wed Oct 31 23:35:46 AEST 1990


Just a reminder:

Unix doesn't utilize a 'CR' (ASCII 13), but instead uses a 'LF' (ASCII 10) to
terminate a line.
You'll need to check the docs on your word processor to be sure that it's 
using a CR rather than a LF.

If you need to do the conversion the easiest way is to use thr 'tr' program
resident on most Unix machines -

tr /015 /012 <CR-flile >LF-file

-- 
David Daniel (The man with no disclaimer)  tronix at polari.UUCP
"Beware the Truth. If you find a Truth it can demand that you make painful
changes."  - Frank Herbert



More information about the Comp.unix.questions mailing list