On Wed, Jul 31, 2024 at 11:40 AM Zachary Santer <zsan...@gmail.com> wrote:
>
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: msys
> Compiler: gcc
> Compilation CFLAGS: -g -O2
> uname output: MSYS_NT-10.0-19045 Zack2021HPPavilion
> 3.5.3-d8b21b8c.x86_64 2024-07-09 18:03 UTC x86_64 Msys
> Machine Type: x86_64-pc-msys
>
> Bash Version: 5.3
> Patch Level: 0
> Release Status: alpha
>
> See attached.

When I was executing the script normally, not sourcing it, in that
email, that was bash 5.2.26(1)-release. To avoid confusion, please
reference the attachments to this email instead.
zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ set -m

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ ./bash ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
# CTRL-C

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ ./bash ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
# CTRL-C

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
[2]   Done                    random_sleep
[3]   Done                    random_sleep
[4]   Done                    random_sleep
[5]   Done                    random_sleep
[6]   Done                    random_sleep
[7]   Done                    random_sleep
[8]-  Done                    random_sleep
2 processes waited / 7 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
[2]   Done                    random_sleep
[3]   Done                    random_sleep
[4]   Done                    random_sleep
[5]   Done                    random_sleep
[6]   Done                    random_sleep
[7]-  Done                    random_sleep
[2]-  Done                    random_sleep
[2]-  Done                    random_sleep
3 processes waited / 8 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
[3]   Done                    random_sleep
[2]   Done                    random_sleep
[4]   Done                    random_sleep
[5]   Done                    random_sleep
[6]   Done                    random_sleep
[7]-  Done                    random_sleep
[2]-  Done                    random_sleep
[2]-  Done                    random_sleep
[2]-  Done                    random_sleep
4 processes waited / 9 processes forked
1 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
[2]   Done                    random_sleep
[3]   Done                    random_sleep
[4]   Done                    random_sleep
[5]   Done                    random_sleep
bash: wait: 5296: no such job
bash: wait: 5297: no such job
bash: wait: 5300: no such job
[6]   Done                    random_sleep
[7]-  Done                    random_sleep
[2]-  Done                    random_sleep
bash: wait: 5296: no such job
bash: wait: 5297: no such job
bash: wait: 5300: no such job
bash: wait: 5303: no such job
bash: wait: 5307: no such job
2 processes waited / 7 processes forked
1 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
[2]   Done                    random_sleep
[3]   Done                    random_sleep
[4]   Done                    random_sleep
[5]   Done                    random_sleep
[6]   Done                    random_sleep
[7]-  Done                    random_sleep
bash: wait: 5312: no such job
bash: wait: 5313: no such job
bash: wait: 5315: no such job
bash: wait: 5317: no such job
bash: wait: 5320: no such job
1 processes waited / 6 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
[2]   Done                    random_sleep
[3]   Done                    random_sleep
[6]   Done                    random_sleep
bash: wait: 5324: no such job
bash: wait: 5330: no such job
[4]   Done                    random_sleep
[5]   Done                    random_sleep
[7]   Done                    random_sleep
[8]-  Done                    random_sleep
bash: wait: 5324: no such job
bash: wait: 5328: no such job
bash: wait: 5330: no such job
bash: wait: 5333: no such job
bash: wait: 5336: no such job
2 processes waited / 7 processes forked
1 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ set +m

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
3 processes waited / 8 processes forked
1 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
3 processes waited / 8 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure false
declare -- BASH_VERSION="5.3.0(1)-alpha"
2 processes waited / 7 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
bash: wait: 5395: no such job
bash: wait: 5396: no such job
bash: wait: 5399: no such job
bash: wait: 5401: no such job
bash: wait: 5395: no such job
bash: wait: 5396: no such job
bash: wait: 5399: no such job
bash: wait: 5401: no such job
bash: wait: 5406: no such job
2 processes waited / 7 processes forked
1 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
bash: wait: 5409: no such job
bash: wait: 5415: no such job
bash: wait: 5409: no such job
bash: wait: 5411: no such job
bash: wait: 5415: no such job
bash: wait: 5419: no such job
bash: wait: 5409: no such job
bash: wait: 5411: no such job
bash: wait: 5415: no such job
bash: wait: 5419: no such job
bash: wait: 5409: no such job
bash: wait: 5411: no such job
bash: wait: 5415: no such job
bash: wait: 5419: no such job
bash: wait: 5428: no such job
4 processes waited / 9 processes forked
0 seconds

zsant@Zack2021HPPavilion MSYS ~/repos/bash
$ source ~/random/wait-n-failure true
declare -- BASH_VERSION="5.3.0(1)-alpha"
bash: wait: 5431: no such job
bash: wait: 5432: no such job
bash: wait: 5435: no such job
bash: wait: 5441: no such job
bash: wait: 5431: no such job
bash: wait: 5432: no such job
bash: wait: 5435: no such job
bash: wait: 5441: no such job
bash: wait: 5444: no such job
2 processes waited / 7 processes forked
1 seconds

Attachment: wait-n-failure
Description: Binary data

Reply via email to