I am trying to understand a piece of code here and as I am not an expert on bash, I am struggling to find out what the below if does:
if [[ "$4" == *"-a "* ]]; then
I understand the $4 is the fourth parameter, but I am not getting the rest...
Why the condition is between *?
Thank you folks, appreciate any help.
Regards,
Thiago