[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Order of command substitution and arithmetic expansion
From: |
Dongbo Hu |
Subject: |
Re: Order of command substitution and arithmetic expansion |
Date: |
Sat, 13 Nov 2021 17:57:49 -0500 |
This is very helpful! Thanks to both of you!
> On Nov 13, 2021, at 4:56 PM, Lawrence Velázquez <vq@larryv.me> wrote:
>
> On Sat, Nov 13, 2021, at 4:48 PM, Lawrence Velázquez wrote:
>> The order of expansions is: brace expansion; tilde expansion,
>> parameter and variable expansion, arithmetic expansion, and
>> command substitution (done in a left-to-right fashion); word
>> splitting; and filename expansion.
>>
>> The semicolons and colons are not distributed arbitrarily.
>
> Sigh. I meant "semicolons and commas".
>
> --
> vq