RE: Math working on command line but not in script

2003-09-23 Thread Robert Mark Bram
Howdy Alexander! > You misspelled the first line, should be > #!/usr/bin/bash Well, now I feel plain silly! Thanks for the answer! Rob :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cyg

Re: Math working on command line but not in script

2003-09-23 Thread Brian Dessent
Robert Mark Bram wrote: > > Howdy All! > > I have a small script called maths.sh 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 bein