SUMMA: Anyone have the source for dos2unix and unix2dos??

From: Karl Marble <marblek_at_city.ci.worcester.ma.us>
Date: Thu, 7 Nov 1996 13:32:32 -0500 (EST)

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 <gshapiro_at_WPI.EDU>
Peter deFriesse <peter_at_oitunix.oit.umass.edu>
Bryon Nicoson <bnico_at_thin.ice.net>
Piotr Bienias <bienias_at_ae.katowice.pl>
Keith MCCABE <Keith_MCCABE_at_paribas.com>
carlos.touzard_at_citicorp.com
John Schaeffer <jsch_at_conncoll.edu>
--
Karl Marble
Unix Administrator & Webmaster
City of Worcester Information Services
Worcester, MA
mailto:marblek_at_city.ci.worcester.ma.us 
http://www.ultranet.com/~kmarble  (My 'at-work' page isn't finished yet)
Received on Thu Nov 07 1996 - 19:49:17 NZDT

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