That is true only if your current shell is /bin/sh or /bin/bash. But
what if someone was using another shell and tried to run your script?
The shebang (or hash-bang or pound-bang) makes the current shell spawn
off a new process using the shell or program specified after the
hash-bang. Much safer.

On Mon, 13 Oct 2003, Rick Meyerhoff wrote:

> Ok, got it. But I thought that if you did not specify a program/shell 
> that /bin/sh (in Linux I think this is usually bash) would be used. So 
> what is the difference? I see that there is a difference but what is the 
> reason?

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list