Re: Cannot run scripts in FC3 if the first line is a comment specifying interpreter

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

 



On Sat, 19 Feb 2005 03:23:50 -0800 (PST), s. h. <csh_jp@xxxxxxxxx> wrote:
> Hi,
> 
> Just installed FC3 and updated. But I found that I
> cannot run scripts if the first line is the comment
> specifying the interpretor, like:
> 
> =============
> #!/bin/bash
> echo "aaa"
> =============
> 
> but a script without that first line works fine:
> 
> =============
> echo "aaa"
> =============
> 
> Does anyone have the same problem? How to fix it?
> 

Even though you're off topic - I'd bet the format of the text file
isn't unix.  Sounds like bash is trying to execute a script that's in
dos format.

> thanks,
> Chris
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> 
> --
> fedora-devel-list mailing list
> fedora-devel-list@xxxxxxxxxx
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
> 


-- 

Nick Bargnesi
http://www.den-4.com
Den 4 Software

pub  1024D/E8BD2FD0 2004-12-02 Nick Bargnesi <nbargnesi@xxxxxxxxx>
Key fingerprint = 6F9D 9404 63CD 2B04 DE7A  0F9D A1ED C1B0 E8BD 2FD0
sub  2048g/56C5D45B 2004-12-02


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux