query: BASH Pattern in IF-Then_Else
positive_passages.docid: 4697
positive_passages.text: bash regex with quotes?
negative_passages.docid: 138961
negative_passages.text: In Bash, how can I check if a string begins with some value?
negative_passages.docid: 67339
negative_passages.text: if recursively find ext, then, else on unix
negative_passages.docid: 157168
negative_passages.text: How do I use a file grep comparison inside a bash if/else statement?
negative_passages.docid: 24759
negative_passages.text: How do I use the conditional (ternary) operator?
negative_passages.docid: 909
negative_passages.text: What is this shell/Bash syntax: someVariable=someValue someCommand
negative_passages.docid: 138524
negative_passages.text: $* in bash scripting
negative_passages.docid: 123684
negative_passages.text: Test for non-zero length string in Bash: [ -n "$var" ] or [ "$var" ]
negative_passages.docid: 32339
negative_passages.text: bash: syntax error near unexpected token `}'
negative_passages.docid: 106701
negative_passages.text: Bash: What does ">|" do?
negative_passages.docid: 29812
negative_passages.text: How do I test if a variable is a number in Bash?
negative_passages.docid: 109101
negative_passages.text: String equality in \ifx conditional using output from concatenating macros
negative_passages.docid: 23849
negative_passages.text: Test condition in if command
negative_passages.docid: 152345
negative_passages.text: Omitting the second expression when using the if-else shorthand
negative_passages.docid: 92237
negative_passages.text: Shell test to find a pattern in a string
negative_passages.docid: 97134
negative_passages.text: PHP conditionals, brackets needed?
negative_passages.docid: 19908
negative_passages.text: How can I compare numbers in Bash?