%% "Thomas E. Dickey" <[EMAIL PROTECTED]> writes:
ted> On 23 May 2000, Akim Demaille wrote:
>> How would you write this:
>> case $ac_package in
>> [*[^-a-zA-Z0-9_]*]) AC_MSG_ERROR([invalid package: $ac_package]);;
>> esac
ted> Your example could be rewritten to use a dummy case which is the
ted> complement, and changing the case you're looking for to the
ted> default of the case statement.
In general that's a good strategy, but there are situations (like this
one) where you can't do it.
There's no way to write the complement of this, using the shell's
globbing syntax.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.