Back Forum Reply New

SH Problems

Whenever I try to run a shell script from the command line on 7.04, it returns that there is a syntax error, usually involving parenthesis.  The oddity here is that the same shell scripts I speak of worked on other distros, as well as 6.06... any help on this one?

...Any help on this one?

Could it be because you are using a different shell. Do you specify which shell to use on your first line?

Code:
#!/bin/sh
or
Code:
#!/bin/bash


I tried specifying SH and it seems to be working fine now.  Thanks!  ^.^
¥
Back Forum Reply New