[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bad interpreter



On Thu, Oct 31, 2002 at 12:40:20AM -0600, Dan Hunt wrote:
> Hi! Bad interpreter?
> I did edit the top of the script with the Midnight Commander edit 
> program to remove those pesky M$ spaces or carriage returns.
> 
> #!/bin/sh
           ^
Are you sure that this is just a single UNIX new line?  Try running
'cat -A filename|head -n1' and make sure that last character comes out
as a '$'.

-rob

Attachment: pgpuVUPBbXQ1i.pgp
Description: PGP signature


Reply to: