tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMA: Anyone have the source for dos2unix and unix2dos??
@ 1996-11-07 18:32 Karl Marble
  0 siblings, 0 replies; only message in thread
From: Karl Marble @ 1996-11-07 18:32 UTC (permalink / raw)
  To: tru64-unix-managers


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@WPI.EDU>
Peter deFriesse <peter@oitunix.oit.umass.edu>
Bryon Nicoson <bnico@thin.ice.net>
Piotr Bienias <bienias@ae.katowice.pl>
Keith MCCABE <Keith_MCCABE@paribas.com>
carlos.touzard@citicorp.com
John Schaeffer <jsch@conncoll.edu>
--
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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-07 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-07 18:32 SUMMA: Anyone have the source for dos2unix and unix2dos?? Karl Marble

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox