INTMAX_MAX=9223372036854775807
eval ": {$((INTMAX_MAX-1))..$((INTMAX_MAX))}"
braces.c:447:9: runtime error: signed integer overflow: 9223372036854775807 + 1
cannot be represented in type 'intmax_t' (aka 'long')
---
braces.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/b
On 9/30/24 4:43 PM, Elad Lahav wrote:
Applications that don't want readline to do this can disable it, at a
cost.
But it is still the case that bash makes many redundant system calls
on every line entered. Is setting rl_catch_signals to 0 in bash going
to have any adverse effects?
That would
# declare -A x
# echo ${x@a}
A
# set -u
# echo ${x@a}
bash: x: unbound variable
Obvious workaround would be to disable `set -u` temporarily or assign
a temporary array value but that shouldn't need to be done.
Same thing happens with `declare -A x=()`.
# bash --version
GNU bash, version 5.3.0(1)