Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
range in parameter
- X-seq: zsh-users 4819
- From: Dennis Haney <davh@xxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: range in parameter
- Date: Mon, 08 Apr 2002 23:05:11 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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