I generally use the following syntax in Bash
if [[ "${STR3}" == "${STR1973}" ]]; then
# This is match condition
fi
As an aside, it is generally more useful to you to experiment yourself with these types of trivial problems.
L7Sqr
Practically a Master Poster
657 posts since Feb 2011
Reputation Points: 201
Solved Threads: 124