Harald van Dijk <harald@xxxxxxxxxxx> wrote: > > Thanks, that helps to clarify. Unfortunately, the valid alternative > given there: > > sh -c 'echo "${x:-\}}"' > > seemingly incorrectly prints \} with dash and with bash, so that is a > non-option at this time for me. If you need to print anything involving a backspace you should use printf and not echo. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html