[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect alias expansion within command substitution
From: |
Lawrence Velázquez |
Subject: |
Re: Incorrect alias expansion within command substitution |
Date: |
Sat, 05 Feb 2022 16:22:03 -0500 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-4586-g104bd556f9-fm-20220203.002-g104bd556 |
> On Sat, Feb 5, 2022 at 9:46 PM Chet Ramey <chet.ramey@case.edu> wrote:
>>
>> On 2/5/22 3:44 PM, Alex fxmbsw7 Ratchev wrote:
>> > maybe ask about an shopt feature to enable straight alias expansion
>> > when the aliases are following ..
>>
>> How would that, whatever it is, help you here?
I think he wants an option that allows expansion of arbitrarily
long sequences of aliases, regardless of lexical context.
On Sat, Feb 5, 2022, at 3:54 PM, Alex fxmbsw7 Ratchev wrote:
> it would make the whole work at alias level
> alias (symbolic) 1=$(( 2=1+2 3=+ 4=1+2 5=))
> 1 2 3 4 5
> works
> [i wish]
*screaming at the sky*
Have you considered not writing code like this?
--
vq
- Re: Incorrect alias expansion within command substitution, (continued)
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/05
- Re: Incorrect alias expansion within command substitution,
Lawrence Velázquez <=
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/05
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/05
Re: Incorrect alias expansion within command substitution, Martijn Dekker, 2022/02/02
Re: Incorrect alias expansion within command substitution, L A Walsh, 2022/02/02