s="STP=20" if [[ "$x" == *"$s"* ]]
The if condition is always false; why?
if
Try this: http://tldp.org/LDP/abs/html/comparison-ops.html
string comparison = is equal to if [ "$a" = "$b" ]
2.1m questions
2.1m answers
60 comments
57.0k users