Re: Going from Win95 to Unix

From: Xual (xual@SATANSPAWN.ML.ORG)
Date: 09/22/98


> I did just that. When that didn't work I deleted the Makefile and conf.h and
> ran configure again. Still didn't work.
>
> Now I get the error:
> Makefile:28: *** commands commence before first target.  Stop.
>

If you open the file, you'll notice all the M's at the end of each line,
inserted by windows, you need the handy script dos2unix to strip them out.
Copy and paste this into a text file, move it to /bin and chmod +x.


#!/bin/sh

if [ $1 ]
then
        sed 's,^M,,g' $1 > /tmp/dos2unix.$$
        mv /tmp/dos2unix.$$ $1
else
        echo "usage: dos2unix filename"
fi

Xual.


     +------------------------------------------------------------+
     | 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