Re: History Expansion in Arithmetic Expansion

2024-03-24 Thread Zachary Santer
On Sat, Mar 23, 2024 at 11:34 AM A4-Tacks wrote: > > ```bash > $ ((!RANDOM)) > bash: !RANDOM: event not found > ``` I just reported this last August [1]. If you, like me, never use history expansion, the best solution might be to disable it in your .bashrc file: set +o

Re: History Expansion in Arithmetic Expansion

2024-03-23 Thread Lawrence Velázquez
On Sat, Mar 23, 2024, at 11:34 AM, A4-Tacks wrote: > Description: > I am unable to use logical inversion operators in line > arithmetic extensions, nor can I escape them, which is undoubtedly > abnormal > > Repeat-By: > ```bash > $ ((!RANDOM)) > bash: !RANDOM: event not

Re: History Expansion in Arithmetic Expansion

2024-03-23 Thread A4-Tacks
Thank you, this is very effective! Replied Message | From | alex xmb sw ratchev | | Date | 03/23/2024 23:38 | | To | A4-Tacks | | Cc | bug-bash | | Subject | Re: History Expansion in Arithmetic Expansion | On Sat, Mar 23, 2024, 16:34 A4-Tacks wrote: Configuration Information

Re: History Expansion in Arithmetic Expansion

2024-03-23 Thread alex xmb sw ratchev
On Sat, Mar 23, 2024, 16:34 A4-Tacks wrote: > Configuration Information [Automatically generated, do not change]: > Machine: aarch64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -march=armv8-a -O2 -pipe -fstack-protector-strong > -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2

History Expansion in Arithmetic Expansion

2024-03-23 Thread A4-Tacks
Configuration Information [Automatically generated, do not change]: Machine: aarch64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security