Re: NEWBIE: Running a perl conversion script

From: Daniel A. Koepke (dkoepke@california.com)
Date: 04/11/99


On Sun, 11 Apr 1999, Robert Moon wrote:

>    Illegal character \015 (carriage return) at 128conv2.txt line 1.
>    (Maybe you didn't strip carriage returns after a network transfer?)

Run fromdos on the file, which should strip the carriage returns.  That
should /hopefully/ work for you.  The problem is caused by the fact that
DOS saves text files with \r\n concluding a line, while UNIX ends with \n.

(The latter, the UNIX way, by the way, is better, as the \r adds one more
byte to each line of the file.  Carriage returns serve no purpose in
files.)

-dak


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



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