Re: `jobs` shows output even when nothing has been started in the background

2023-06-14 Thread Ajeet D'Souza
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 is: (_="$(/bin/echo)"; jobs -l) - Is there an elegant way I can get the co

Re: New array_expand_once option

2023-06-14 Thread alex xmb ratchev
On Wed, Jun 14, 2023, 15:34 Chet Ramey wrote: > On 6/13/23 7:12 PM, alex xmb ratchev wrote: > > > any word s about [[ -v > > .. ? > > > > Using the assignments above, > > [[ -v a["$subscript"] ]] > > is already an arithmetic expansion error in bash-5.2, but not in bash-5.1. > hello there .. i d

Re: `jobs` shows output even when nothing has been started in the background

2023-06-14 Thread Chet Ramey
On 6/14/23 4:47 AM, Ajeet D'Souza wrote: Bash Version: 5.2 Patch Level: 15 Release Status: release *Description:* I apologize if this is not a bug, but I couldn't find any documentation around this behaviour. In Bash, this does not produce any output: /bin/echo; jobs -l But if you run it in a

Re: New array_expand_once option

2023-06-14 Thread Chet Ramey
On 6/13/23 7:12 PM, alex xmb ratchev wrote: any word s about [[ -v .. ? Using the assignments above, [[ -v a["$subscript"] ]] is already an arithmetic expansion error in bash-5.2, but not in bash-5.1. Inhibiting double expansions like those for shell compound commands was one of the changes

`jobs` shows output even when nothing has been started in the background

2023-06-14 Thread Ajeet D'Souza
*Configuration Information [Automatically generated, do not change]:* Machine: aarch64 OS: darwin22.1.0 Compiler: clang Compilation CFLAGS: -DSSH_SOURCE_BASHRC uname output: Darwin ip-192-168-0-101.ap-south-1.compute.internal 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:48:54 PST 2023; root:x