query: How do I compare two string variables in an 'if' statement in Bash?
positive_passages.docid: 132364
positive_passages.text: How to compare strings in Bash
negative_passages.docid: 29812
negative_passages.text: How do I test if a variable is a number in Bash?
negative_passages.docid: 22741
negative_passages.text: Compare one String with multiple values in one expression
negative_passages.docid: 74137
negative_passages.text: Conditions and ranges within case statements in bash
negative_passages.docid: 75335
negative_passages.text: Bash test: what does "=~" do?
negative_passages.docid: 124650
negative_passages.text: Is `if (condition = value)` the correct syntax for comparison?
negative_passages.docid: 141259
negative_passages.text: shell scripting if statement doesn't work
negative_passages.docid: 138518
negative_passages.text: Why is one string greater than the other when comparing strings in JavaScript?
negative_passages.docid: 52715
negative_passages.text: easy BASH If Else
negative_passages.docid: 56714
negative_passages.text: String comparison in \ifthenelse
negative_passages.docid: 154049
negative_passages.text: why does if("string") evaluate "string" as true but if ("string"==true) does not?
negative_passages.docid: 43775
negative_passages.text: Checking the success of a command in a bash `if [ .. ]` statement
negative_passages.docid: 43413
negative_passages.text: Ruby: String Comparison Issues
negative_passages.docid: 109282
negative_passages.text: Java comparison with == of two strings is false?
negative_passages.docid: 138961
negative_passages.text: In Bash, how can I check if a string begins with some value?
negative_passages.docid: 17652
negative_passages.text: Compare two strings by ignoring certain characters
negative_passages.docid: 88380
negative_passages.text: Test if variable matches any of several strings w/o long if-elsif chain, or case-when