Karim BELABAS on Tue, 8 Apr 2003 02:47:20 +0200 (MEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: option concatenation |
On Mon, 7 Apr 2003, Bill Allombert wrote: > On Mon, Apr 07, 2003 at 04:31:48PM -0400, Igor Schein wrote: >> How hard would it be to make it so that I can type, for instance, >> gp -qfs128m, instead of gp -q -f -s128m? Option concatenation is >> standard in GNU programs. > > I am neutral about this. This is certainly not a GNU standard. It's not hard. But it the code would be more complicated, and I don't think it would be very useful [ write an alias if you use it over and over again ]. > I would like > > $ gp file.gp > do the equivalent of > $ gp > ? \rfile.gp You don't really want this. read("file.gp") looks more appropriate [ don't want to clutter history entries, etc ]. In fact, I believe you want the equivalent of a sequence of 'read' statements from .gprc. I've implemented this [ one can use gp file1 file2 ... ] I've also cleaned the command-line options, so that single letter flags take a single dash, and long flags two dashes: -test and -emacs did not fit this pattern. Now, it's --test, --emacs, with the old form still recognized for backward compatibility, but undocumented. I've updated the man page (gp.1) and usersch2.tex. Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathématiques, Bât. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud http://www.math.u-psud.fr/~belabas/ F-91405 Orsay (France) http://www.parigp-home.de/ [PARI/GP]