query: Why append an extra character in `test`/`[` string comparison in POSIX sh?
positive_passages.docid: 19713
positive_passages.text: Why do shell script comparisons often use x$VAR = xyes?
negative_passages.docid: 105563
negative_passages.text: Posix Character Sets difference between [[:blank:]] and [[:space:]]?
negative_passages.docid: 75886
negative_passages.text: strings are missing after concatenating two or more variable string in bash
negative_passages.docid: 132364
negative_passages.text: How to compare strings in Bash
negative_passages.docid: 94285
negative_passages.text: Why is \ character being doubled in my @ string?
negative_passages.docid: 47849
negative_passages.text: Why does shell Command Substitution gobble up a trailing newline char?
negative_passages.docid: 51432
negative_passages.text: What does the "$#" special parameter mean in Bash?
negative_passages.docid: 14585
negative_passages.text: Why am I getting the last octet repeated when my Perl program outputs a UTF-8 encoded string in cmd.exe?
negative_passages.docid: 11079
negative_passages.text: Comparing two strings in Bash
negative_passages.docid: 21319
negative_passages.text: Why should there be spaces around '[' and ']' in Bash?
negative_passages.docid: 67674
negative_passages.text: Why are bash tests so picky about whitespace?
negative_passages.docid: 39830
negative_passages.text: Is "Arithmetic Expansion" the expected action on vars inside `[[` tests?
negative_passages.docid: 110452
negative_passages.text: Why does exclamation mark within double quotes cause a Bash error?
negative_passages.docid: 96838
negative_passages.text: Is the behaviour of .* to include . and .. defined in LSB or POSIX or some other specification?
negative_passages.docid: 38429
negative_passages.text: How can I use inverse or negative wildcards when pattern matching in a unix/linux shell?
negative_passages.docid: 136671
negative_passages.text: Shell script comparison does not work as intended
negative_passages.docid: 147321
negative_passages.text: Why do some packages have extra numbers before a colon on the front of their version string?