On Thu, Sep 12, 2002 at 02:53:55PM -0500, Branden Robinson wrote: > On Thu, Sep 12, 2002 at 09:11:35AM +0200, Chris Halls wrote: > > Where "bustype" is "PCI" for PCI and AGP video cards, and each of "bus", > > "device", and "function" is a decimal (not hexadecimal) value. For example, > > "PCI:0:16:0" is valid input (without the double-quotes). > > ^^^^^^^^^^ > [...] > > Since a 1 digit number is valid config syntax, could you change \+ to \? please? > > Well, how about this? > > if [ -z "$RET" ] || expr "$RET" : "[A-Z]\+:[0-9]\{1,3\}:[0-9]\{1,3\}:[0-9]\{1,3\}$" > /dev/null 2>&1; then > > * debian/xserver-xfree86.config.in: tweak validation of BusID specifications > to permit exactly one to three digits in each field of a PCI bus spec Even better. Sorry your mail took a long time to get read. Thanks, Chris
Attachment:
pgpZ6Qh3nsKUc.pgp
Description: PGP signature