Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash comparison operators

== (or =)String equality
!=	String inequality
<	String lexicographic comparison (before)
>	String lexicographic comparison (after)
=~	String regular expression match
Source by devmanual.gentoo.org #
 
PREVIOUS NEXT
Tagged: #bash #comparison #operators
ADD COMMENT
Topic
Name
2+8 =