[clug] Ever received a .dat file from an <other OS> user?

Hal Ashburner hal.ashburner at gmail.com
Sat Jan 16 03:52:34 MST 2010


> ---------------------
> pbarker at milligan:~$ cat test.sh
> #!/bin/sh 
> set -o nounset

Is this wise?
What if /bin/sh isn't a symlink to bash? Will it still give you an error 
or just silently remove the safety you were relying on to not shoot 
yourself in the foot?
Would #!/bin/bash be a better option there? Or is it all just swings and 
roundabouts.
Thoughts.


More information about the linux mailing list