On Fri, May 23, 2025, 17:17 Stephen Leaf wrote:
>
> #!/bin/bash
> TMPFILE=$(mktemp /tmp/tmp.)
> for a in this is a test; do
> if [ $a == 'a' ]; then
> >&2 echo b
> fi
> done 2> >(echo "test!"> "$TMPFILE")
>
The process substitution is asynchronous, so the writ
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -O2 -pipe
uname output: Linux hikari 6.14.5 #4 SMP PREEMPT_DYNAMIC Thu May 8
06:32:53 CDT 2025 x86_64 Intel(R) Xeon(R) E-2324G CPU @ 3.10GHz
Genui