parameter expansion and double quotes
Hello,
I'm using dash 0.5.5.1, and noticed a strange behaviour:
| $ t=123
| $ echo ${t%${t#?}}
| 1
| $ echo "${t%${t#?}}"
|
| $Is it a bug or something?
Thank you
Quoted 6 lines · SamLT
Hello,
I'm using dash 0.5.5.1, and noticed a strange behaviour:
Quoted 8 lines
| $ t=123 | $ echo ${t%${t#?}} | 1 | $ echo "${t%${t#?}}" | | $Is it a bug or something?
Yes, this looks like a bug. I'll look into it.
Thanks,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt