From: Alan W. I. <ir...@be...> - 2009-01-06 19:27:13
|
On 2009-01-06 19:14-0000 Andrew Ross wrote: >> Would it be straightforward to implement a -stream command-line option that >> means all subsequent options refer to the specified stream number? That >> would provide an elegant solution to the example 14 issue with, e.g., >> >> c/x14c -dev psc -o x14ac.psc -stream 1 -dev psc -o x14bc.psc > > Or how about anything before the option could be applied to all streams, > options after a -stream command only apply to that stream, unless > another -stream option is encountered. Each stream can then call > plparseopts and only extract the commands meant for it. Default would be > the current behaviour. A stream can then decide whether or not it wants > to use command line options. The only down side of this is that the > (currently internal) stream numbers are exposed to the user. I like your version better. If the implementation is straightforward, I would say go for it prior to this release, otherwise, afterwards. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |