echo "Enter username"
read $WORD
if [[ "$WORD" =~ ^(Dale|Paul|Ray)$ ]]; then
echo "$WORD is valid"
else
echo "$WORD is invalid"
fi
|
|||||
|
The error is in Check this:
|
|||||
|
|
|||||
|
The error is in Check this:
|
|||||
|