user [email protected]
usertag dcmd
thanks

On Wed, Jan 13, 2010 at 9:42 AM, Colin Watson <[email protected]> wrote:
> dcmd fails in a very obscure way if somebody accidentally capitalises
> the Priority field in debian/control.  Attached is a
> manually-constructed example, which produces the following output:
>
>  $ dcmd man-db_2.5.6-5_i386.changes
>  [: 252: doc: unexpected operator
> [snip]
> I imagine this is due to a strict regex.

Yeah, this is due to the regex using [a-z] instead of [[:alpha:]] or
[a-zA-Z].

>  I don't particularly mind
> whether it fails or not - the input is technically invalid, after all -
> but it would be nice if it failed in a clearer way.

I don't see anything in policy stating that the section or priority must
use only lower-case, so I'm of the mind it should be fixed to accept the
input.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>




--
To unsubscribe, send mail to [email protected].

Reply via email to