On Thu, Jul 17, 1997 at 11:43:58AM -0700, Mike Schmitz wrote: > mike:~$ invoice -n > Illegal character \015 (carriage return) at /home/mschmitz/bin/invoice line 3. > (Maybe you didn't strip carriage returns after a network transfer?) > > > ------ Snip ------ > > The only transfers this script has gotten have been accomplished by cp. If > I put a # at the end of line 3, the error just moves up one. Has anyone > seen/solved this error?
You can strip them out with: dos2unix filename or mv filename filename.orig; tr -d '\015' < filename.orig > filename or a bunch of other methods. vim has always hidden these characters, AFAIK. nvi doesn't. Hamish -- Hamish Moffatt VK3TYD [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org

