SPECS: eventum.spec - shellglob syntax fix

Jakub Bogusz qboosh at pld-linux.org
Sun Feb 27 13:11:59 CET 2005


On Sun, Feb 27, 2005 at 01:48:05PM +0200, Elan Ruusamäe wrote:
> hi
> 
> On Saturday 26 February 2005 01:39, qboosh wrote:
> > Author: qboosh                       Date: Fri Feb 25 23:39:05 2005 GMT
> > Module: SPECS                         Tag: HEAD
> > ---- Log message:
> > - shellglob syntax fix
> >
> > ---- Files affected:
> > SPECS:
> >    eventum.spec (1.59 -> 1.60)
> [...]
> > -%{_appdir}/include/class.[^m]*.php
> > +%{_appdir}/include/class.[!m]*.php
> 
> what's the difference? (why exclamation mark?)
> so could remember it easily next time
> (maybe add this info (also) to devel-hints file?)

According to SUSv2 (and probably POSIX) '!' is the standard negation
character in bracket expressions; some (most in fact) shells treat '^'
the same - which is allowed, but not obligatory, so one shouldn't rely
on this.

http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_013_001


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list