Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 68
hp e3000
programming
and posix
shell interpreters
the first line of a shell script specifies the interpreter to be
run and the parameters if any, I.e.:
#!/bin/sh
when a shell script is invoked by the shell or via exec(),
the interpreter program is run with stdin redirected to the
script file