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