I'm trying to check if one of 4 variables starts with the string &red and I'm struggling to get the match to work. At the moment I've got this,if [[ $filemsgCICS = &red* || $filemsgCICSU1 = &red* || $snufmsgCICS = &red* || $snufmsgCICSU1 = &red* ]];thenbut that doesn't work. I can't seem to find a solution that will work. I've tried '&red'* and I've tried \&red* but none of them work. 
Checking if one of 4 variables starts with string &red in ksh
shell;ksh