SUMMARY:Unwanted CLF/LF

From: Lambert Paul B <PBLAMBERT_at_qinetiq.com>
Date: Tue, 17 Jul 2001 18:20:04 +0100

Loads answers : for those that didn't know (there must have been someone
else!?) there were various suggestions including dos2unix which is a
standard util in the mtools subset on V5.* apparently and possibly in
the Advanced Server subset for V4.*

Other suggestions were varied and in the end I found the simplest
approach for our purposes :

dos2unix.ksh : cat <file> | tr -d '\015' > file.unix

unix2dos.ksh : awk "{printf(\"%s\r\n\",\$0)}" <file> > file.dos

Cheers chaps/chapesses.....

Paul


-- 
The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution, 
or any action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.
Received on Tue Jul 17 2001 - 17:21:10 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT