Math working on command line but not in script

Brian Dessent
Tue Sep 23 08:27:00 GMT 2003

Robert Mark Bram wrote:
> Howdy All!
> I have a small script called with the following code in it:
> #/usr/bin/bash

The features you're trying to use are bash-specific.  The above shebang
is not correct (you need a ! after the #, as in "#!/path/to/file") and
so the script is being executed not by bash but by sh which doesn't
understand the $(( foo )) syntax.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list