[Patch] Command line arguments retrieval



Stas Boukarev <stassats at gmail.com> writes:

> Implementation dependent command line arguments retrieval differs
> between implementations. For some they're processed directly, and for
> some only after "--" argument. I attached a patch which unifies this
> behavior by processing all arguments, the way it does on SBCL and Clisp,
> which, I presume, is the desired behavior. And I also added support for
> ABCL.
Turns out, I'm running maxima directly from an image saved by Lisp, but
a shell script "maxima" passes -- to distinguish between implementation
options and maxima options. I attached a new patch, which discards
everything before "--", but doesn't remove all arguments when there is
no "--", like it did originally.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command-line-2.diff
Type: text/x-patch
Size: 2114 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20100514/2ad6bf18/attachment.bin>;
-------------- next part --------------

-- 
With Best Regards, Stas.