what does =~ means in if test statement.
I am trying to modify a shell script according to my requirements & i am seeing an if statement like below:
if [[ "$i" =~ "you are guest " ]] ; then
echo "Welcome Guest"
Now, can someone please tell me what does that =~ test condition means???
It isn't causing any problems to me in modifying the script but just curious to know what it is exactly..
Thx in advance.