On Mon, Oct 27, 2003 at 8:05am Miles Egan wrote:
> > OK, well, here's the thing.  ANSI specifically frees #! as a readmacro
> > that is free for the user; the implementation is not allowed to define
> > it by default.  So we're never going to get to your state of grace as
> > above.  On the other hand, the two issues above could be solved in one
> > go; something like
> >
> > #! /usr/bin/sbcl --script
> >
> > might work, where --script is syntactic sugar for "set up #!
> > readmacro then load the argument as a file".
>
> Still, --script seems like a pretty reasonable compromise between ANSI
> compliance and script-friendliness.

Rather than making a "#!" readmacro, why not have the command-line arg just read in and ignore the first line from the file?  Seems simpler.

Derek