On Tue, Aug 25, 2026 at 2:31 PM Stan Marsh <[email protected]> wrote:
>
> Rather, the sorting is a functionality associated with the "for"
> statement. That's how it works in GAWK, and I think that should be the
> model for how it should work in bash.

The indexed array expands in index numerical order anywhere you expand
it. The for loop just takes whatever you give it in the order you give
it in. It doesn't have to be an array expansion at all.

Reply via email to