DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

BhupinderSingh's picture

Unregistered

Feeds

aliases

  • BhupinderSingh

BhupinderSingh

4 years ago

in Bourne/bash shell scripts: string comparison | Bourne shell scripting | Tech-Recipes on Tech-Recipes
this can also be used to compare 2 strings

s1 = "as"
s2 = "bs"

if test $s1 == $s2
then
echo s1 and s2 are equal
fi
Returning? Login