Case Selection (again)!
Can anyone please help me (again) with this statement:
*'**'*)
echo Cannot have more than 1 asterisk
exit
;;
As you can tell its supposed to drop out if there is more than 1 asterisk, but it doesnt!
Many thanks.
Also can anyone tell me what the structure of these statements are eg I know that * selects the whole string and ? selects a char. But how do I check if there are less than 2 parameters in my statements or if the parameter has to have a dot within the string!
Thank you all so very much (I'm beginning to tear my hair out)!
|