On 08/10/2010 01:01 AM, Peter Rosin wrote: >> Further I'm fixing the archive and the compile script to use ! not ^ for >> shell pattern negation, and using $me also in the --help output. > > I tested with $me in the --help output but didn't get it to work so I > removed it. But your version works. Sigh... > > BTW, why is ! better than ^ here? Just curious.
Because POSIX requires ! in shell pattern negation, but leaves ^ unspecified, and because older shells only understand !. Autoconf has tests that guarantee that all shells supported by autoconf support [!a] negated patterns. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature