[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ! history expansion occurs within arithmetic substitutions
From: |
Emanuele Torre |
Subject: |
Re: ! history expansion occurs within arithmetic substitutions |
Date: |
Tue, 8 Aug 2023 17:44:21 +0200 |
User-agent: |
Mutt/2.2.10 (2023-03-25) |
On Tue, Aug 08, 2023 at 09:24:48AM -0400, Zachary Santer wrote:
> Configuration Information:
> Machine: x86_64
> OS: msys
> Compiler: gcc
> Compilation CFLAGS: -march=nocona -msahf -mtune=generic -O2 -pipe
> -D_STATIC_BUILD
> uname output: MSYS_NT-10.0-19045 Zack2021HPPavilion 3.4.7.x86_64 2023-07-14
> 16:57 UTC x86_64 Msys
> Machine Type: x86_64-pc-msys
>
> Bash Version: 5.2
> Patch Level: 15
> Release Status: release
>
> Description:
> Similarly, history expansion occurs within arithmetic substitutions. This
> will never, ever be what the user wants. And now I know how to make it not
> happen.
>
This is not similar at all, and I disagree that a user will never want
history expansion in a $(( )) substitution.
o/
emanuele6
- !; is interpreted as an history expansion that can never match anything, Emanuele Torre, 2023/08/08
- ! history expansion occurs within arithmetic substitutions, Zachary Santer, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions,
Emanuele Torre <=
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Andreas Schwab, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/11
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/11
- Re: ! history expansion occurs within arithmetic substitutions, Chet Ramey, 2023/08/14
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/15
- Re: ! history expansion occurs within arithmetic substitutions, Zachary Santer, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/10
- Re: ! history expansion occurs within arithmetic substitutions, Lawrence Velázquez, 2023/08/10