bug-bash
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]