Re: compiler error

From: Peter Ajamian (
Date: 08/12/99

Julian Buckley wrote:

> Indeed --- I personally found doing the following a bit tedious though:
> cp file.c filebk.c
> dos2unix file.c > tmp
> mv tmp file.c

So did I, which is why I created a script to do it for me...

# File:  d2u
# Put this file in a directory in your path, then simply type "d2u file.c" to
convert file.c from dos to
# unix format.  it also backs up the original to file.c~ (keeping with the tradition
of emacs).
cp $1 $1~
dos2unix $1~ > $1



     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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