Sorry if it's in the FAQ, but which is better for the first line
of a script?:
I thought I read somewhere that "#!/bin/sh -" was more
secure; if so why?
thanks in advance,
> #!/bin/sh -
> I thought I read somewhere that "#!/bin/sh -" was more
> secure; if so why?
> thanks in advance,
What's the difference between using ":" as opposed to "#!/bin/sh"
on the first line of a shell script? I'm running SunOS 4.1.3 and
I noticed the behavior is different with the 'dirname' command
if it is run from a Bourne shell. Test the following scripts.
Be sure you are in a different directory from where the script