Comment 1 for bug 259671

Revision history for this message
Yann Leprince (sciyann) wrote : Re: shell script parsing of strings when there is a square bracket. Missing backslashes

Thank you for taking the time to report.
When I run your test script with bash (under karmic), I get the backslash as it should be. However when I run it with dash (the default /bin/sh since edgy, 6.10) the backslash does not get displayed.
Please run 'ls -l /bin/sh' so that we can decide if this is really a bash bug (dpkg -L containing /bin/sh does not mean that your /bin/sh is actually bash) or a dash bug.