On Wed, Dec 19, 2007 at 02:03:09PM +0000, Debian Bug Tracking System wrote:
> On Tue, 18 Dec 2007, Lionel Elie Mamane wrote:

>> The condition in the following recipe does not work:

>> :0
>> * 1 ?? foo

>> It seems that number variables (set with the -a argument of
>> procmail) are simply not recognised by the "??" construct.


> 1 is not a valid variable name, so I would never expect "1 ?? foo"
> to work.

Well, what is the "valid name" of that variable, then? The procmail
man page calls them "number variables", so what I understand is that
according to procmail nomenclature, they are variables. And their name
is 1, 2, 3, ... The subsection on "??" (in the procmailrc manpage)
does say that the variable cannot be a "pseudo variable", but the
manpages don't explain what a "pseudo" variable is. Are number
variables pseudo variables? Then, this, IMHO, should be documented.

Contrast with the bash manpage: it never calls them variables, only
"positional parameters". In the bash manpage, all variables are
parameters, but not all parameters are variables.

> To summarize, I don't see a bug here.

Well, you can see it as "documentation confused the user", I suppose.

-- 
Lionel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to