From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621423.tru64-unix-managers.marc@archive.invalid> From: Karl Marble Date: Thu, 07 Nov 1996 18:32:32 +0000 To: tru64-unix-managers Subject: SUMMA: Anyone have the source for dos2unix and unix2dos?? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621423 The only response I got for sources was: ftp://ftp.ae.katowice.pl/pub/utils/unix2dos/dos2unix.tar.gz which is VERY slow, and I couldn't connect to it. A previous sysop put the binaries on our machine, but no man pages. That's more of what I wanted was documentation. The better solution is to do it in unix. I can't believe that I looked over this in the first place... DUH!!!! dos2unix: tr -d "\015\023" < inputfile > outputfile unix2dos can be an awkscript that appends a ^M to the end of every field and a ^Z at the end of the record (file) Thanks to the following for their responses: Gregory Neil Shapiro Peter deFriesse Bryon Nicoson Piotr Bienias Keith MCCABE carlos.touzard@citicorp.com John Schaeffer -- Karl Marble Unix Administrator & Webmaster City of Worcester Information Services Worcester, MA mailto:marblek@city.ci.worcester.ma.us http://www.ultranet.com/~kmarble (My 'at-work' page isn't finished yet)