On Thu, Apr 29, 2021 at 03:12:09PM +0300, Ilkka Virta wrote: > BTW, was there some background to why they're ordered like this? I'm not > sure if I have heard the story, and didn't see anything about it in Greg's > wiki or bash-hackers.org (of course they tell the "what", but not the > "why"). I didn't dig through all the mailing lists, though.
I don't know the reason, other than what Chet said earlier in this thread (that it was never designed to work that way). > Of course there's other ways with subshells, temporary arrays and using > e.g. seq (but I'm not sure that exists on all systems either). seq(1) is not standard, and definitely does *not* exist on all systems. Some have jot(1) instead, but many commercial Unixes have neither.