On 9/2/2011 7:18 PM, douglas barrett wrote:
[apache@X hooks]$ head -1 pre-revprop-change
#!/bin/sh
{
As a side point the "shebang" is not required for a shell script
to run.
[apache@X tmp]$ echo "echo \$*" > ./Echo
[apache@X tmp]$ cat ./Echo
echo $*
[apache@X tmp]$ chmod u+x ./Echo
[apache@X tmp]$ ./Echo "you don't need a magic number"
you don't need a magic number
}
It's useful: some systems use csh or ksh as their default shells, and
execution of plain old Bourne shell script can be..... erratic with the
wrong shell.