Re: [Off-Topic] Red Hat Linux 5.1

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/09/98


On Wed, 9 Sep 1998, The Fractal Dimension Administration wrote:

>I've finally added my new harddrive and gave a gig of space over to
>Linux for usage.  Then I've painstakingly converted my source code
>over to Linux (the process mostly involving removing ^M's from the
>code by hand... anyone know of a better way?).

Could probably do it with Perl, fromdos, dos2unix, or tr.

Perl: Don't remember offhand, s///g something.
fromdos < file > newfile
dos2unix < file > newfile
tr -d '\r' < file

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST