Text-only | Table of Contents (frame/ no frame) |
(7) Basics |
#!
magic header.
All the parsing rules, filename wildcards, $PATH searches etc., which were summarized
above, apply.
#
as the first non-whitespace character on a line
\
as the last character on a line
This is actually just a particular instance of \
being to escape, or remove
the special meaning from, the following character.
;
as a separator between words on a line
exit
N
, or it defaults to the value of the last command run.
The exit status is an integer 0-255. Conventionally 0=success and any other value indicates a problem. Think of it as only one way for everything to work, but many possible ways to fail. If the command was terminated by a signal, the value is 128 plus the signal value.
basics.src last modified Mar 11, 2005 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |