I am calling a script with argument as "incr":
script.sh incr
I need to check if the argument passed is "incr" or not.
Also, "incr" can be any argument,not necessarily the first. For ex :
script.sh -l incr
Any general way to check if any argument is "incr" or not.