On Fri, 19 Mar 2010 at 12:52AM -0700, William Stein wrote:
> The main issue I see is that using getopt or optparse means that the
> "local/bin/sage-sage" script will go from not depending on Python to
> depending on Python.  This may cause trouble for the build system, and
> may slow down commands such as "sage -gp", since doing "sage -gp" now
> means also starting Python, in addition to Pari.

Good point -- although Python does start very fast. I see that bash has
a "getopts" builtin, although it doesn't do --style arguments. I
downloaded shflags, which Tim suggested, and using it amounts to sourcing a
31KB shell library, which seems like a pretty reasonable, uh, option --
check out http://code.google.com/p/shflags/wiki/Documentation10x



Dan

-- 
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to