Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

range in parameter




I have a program which has a switch takes a number between 0 and 100:

_arguments  \
{'(-v)--volume','(--volume)-v'}"[Set audio volume to N (0-100)]:volume:" \

But how do I specify that all number between 0 and 100 are valid params without having to type all 100?

--
Dennis
use Inline C => qq{void p(char*g){printf("Just Another %s Hacker\n",g);}};p("Perl");




Messages sorted by: Reverse Date, Date, Thread, Author