hello everybody,
I need help on putting a wildcard match inside an if condition (I'm using korn shell):
if [ $MYSEL -ne [0-5] ]
then echo ' '
echo ''$MYSEL' is not a correct option'
echo ' '
else .....
i tried also #if -ne "`[0-5]`" and a lot of combinations of `"' but I didn't find the correct one...i want to match as condition all values differents from 0 to 6 numbers
thanks a lot for the help
Elio