tag 651755 +wontifx thanks On Sat, Dec 17, 2011 at 10:02:46AM +0100, Jan Hauke Rahm wrote: > On Sun, Dec 11, 2011 at 05:48:37PM -0500, A. Costa wrote: > > This works: > > > > # Count from 40, 4 steps per, 25 times, & print it backwards. > > % enum .. 25x 4 .. 40 > > > > ... but not this: > > > > % enum 25x 4 40 > > ERROR: Combination of command line arguments could not be parsed: > > 25x 4 40 > > > > But the latter dotless syntax would be easier to type, and > > the trailing 'x' in '25x' seems properly unambiguous. > > It seems indeed to be non-ambiguous, though I'm not sure allowing this > syntax is a good idea. It is, after all, only readable by people very > comfortable with the different input types. We'll explore this.
We discussed this upstream. Since this shortcut would break with the general oder of arguments, we decided against it. Someone rather unfamiliar with enum would read 'enum 25x 4 40' as '25 values with a step of 4 up to 40', i.e. 'enum .. 25x 4 .. 40' (output would start with -56). We want for enum to have a most generic user interface. Your suggested addition would break with it. Thank you, though, for trying to improve enum! Hauke -- .''`. Jan Hauke Rahm <j...@debian.org> www.jhr-online.de : :' : Debian Developer www.debian.org `. `'` Member of the Linux Foundation www.linux.com `- Fellow of the Free Software Foundation Europe www.fsfe.org
signature.asc
Description: Digital signature