Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash compare two strings

if [ "$s1" == "$s2" ]
then
	stuff
fi
 
PREVIOUS NEXT
Tagged: #bash #compare #strings
ADD COMMENT
Topic
Name
5+2 =