On 2/19/20 7:46 PM, Arfrever Frehtes Taifersar Arahesis wrote: > Eli Schwartz <eschwa...@archlinux.org> 2020-02-20 23:49 UTC: >> Your examples are all (still) broken. > > This would affect only 10 examples from 120, so only 8.33 % of > examples, far from all examples.
[...] > Majority (3 of 4) of bugs reported by me in this thread are unaffected > by above discussion about ${!...} and are certainly still valid. But your examples are founded in a misunderstanding of how bash variables work, why should I expend the mental bandwidth to unroll your micro-optimized for loop full of eval to figure out which examples are valid? You've immediately jumped from "I don't get the result I expected" to "there's a bug in bash". I've pointed out that there are gaps in your understanding of how bash works. Maybe it's time to revisit your initial assumptions going in, open yourself up to the possibility that you might be wrong, rather than bash, and finally, please, *please* just elaborate your test cases in a readable manner without making them conditional on correct use of eval. Then we could all discuss whether a specific bit of behavior makes sense. -- Eli Schwartz Arch Linux Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature