Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2007-04-23 19:12:34 -0700 (Mon, 23 Apr 2007)
Revision: 10487
Log message:
Process the #! lines. For example, you can start your file with
#!omake --verbose
This means that if you write a script "foo" beginning with:
#!/usr/bin/env osh <options>
then the following are the same.
% ./foo
% osh foo
Another point is that the options are processed at parse time,
so options like -warn-error are handled correctly.