Comment 4 for bug 259671

Revision history for this message
Nonconventionally Creative (br-longbons) wrote : Re: shell script parsing of strings when there is a square bracket. Missing backslashes

There is a much simpler test: does
echo '\\'
print one backslash or 2?

The man page says:
   Single Quotes
     Enclosing characters in single quotes preserves the literal meaning of all the characters (except sin‐
     gle quotes, making it impossible to put single-quotes in a single-quoted string).

This bug should be SEVERE because it makes it practically impossible to write portable shell scripts.