On 6/14/23 5:18 PM, alex xmb ratchev wrote:
[[ -v a["$subscript"] ]]
is already an arithmetic expansion error in bash-5.2, but not in bash-5.1.
hello there ..
i dont get much
it d be an arith err if array wasnt -A
.. ?
Yes, because only one expansion is performed, and so the subscr
On Thu, Jun 15, 2023, 15:06 Chet Ramey wrote:
> On 6/14/23 5:18 PM, alex xmb ratchev wrote:
>
> > [[ -v a["$subscript"] ]]
> >
> > is already an arithmetic expansion error in bash-5.2, but not in
> bash-5.1.
> >
> >
> > hello there ..
> >
> > i dont get much
> > it d be an arith err if ar
On Thu, Jun 15, 2023, 00:13 Ajeet D'Souza <98aj...@gmail.com> wrote:
> Hey Chet,
>
> Thanks for the quick reply. I have some follow-up questions:
>
>- Is there an elegant way I can start an external process without it
>showing up under jobs, even on affected versions? My current best idea
Hi,
Sorry if this has come up before - I did take a look and couldn't find
anything.
Could bash use posix_spawn/vfork instead of the rather heavyweight
fork?
I'm aware of the work in `devel` to add nofork comsubs which is very
intriguing, but I do wonder about another suggestion: could bash use
As below.
$ bash -c 'declare -p BASH_VERSION'
declare -- BASH_VERSION="5.2.15(1)-release"
$ bash -c '[[ ]]; echo fin'; echo $?
0
$ bash -c 'declare -p BASH_VERSION'
declare -- BASH_VERSION="5.1.16(1)-release"
$ bash -c '[[ ]]; echo fin'; echo $?
bash: -c: line 1: syntax error near `;'
bash: -c: l
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASS