From: Lambert Paul B <PBLAMBERT () qinetiq ! com>
To: tru64-unix-managers
Subject: SUMMARY:Unwanted CLF/LF
Date: Tue, 17 Jul 2001 17:20:04 +0000 [thread overview]
Message-ID: <102653652421900.tru64-unix-managers.marc@archive.invalid> (raw)
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.
reply other threads:[~2001-07-17 17:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox