3 Jun
2004
3 Jun
'04
14:32
On Thursday 03 June 2004 07:39, James Oakley wrote:
On Thursday 03 June 2004 3:40 am, Robert Sweet wrote:
#!/bin/sh is a sym link to /bin/bash, i.e., /bin/sh is /bin/bash :)
Watch out. Bash's behaviour changes depending on how you call it.
I found out the hard way while debugging a script that used Bash 2 features and had #!/bin/bash at the top. I was using "sh -x <scriptname>" to debug it...
-- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com Gave it a dry run. Seems to work okay. -- ...CH SuSE 9 Works Linux user# 313696 Linux box# 199365