On 10/18/22 1:47 PM, Andrew Neff via Bug reports for the GNU Bourne Again
SHell wrote:
Description:
Using the "caller" command on a line of bash code in a process substitution
has been incorrect from bash 3.2 through 5.1, but I could write my code in such a way to
work around it. Some of
t: Tuesday, October 18, 2022 7:09 PM
To: Andrew Neff
Cc: bug-bash@gnu.org
Subject: Re: caller returns wrong line number in command substitution
There are no command substitutions in any of your examples.
A command substitution is what you get with $( ) (or if you
really like obsolete syntax for s
There are no command substitutions in any of your examples.
A command substitution is what you get with $( ) (or if you
really like obsolete syntax for some reason, ``).
What you're showing is process substitution.
This has nothing to do with whether or not there is an issue
here that's worth
Machine: x86_64
OS: linux-musl
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Linux cfa1574b05c7 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed
Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux
uname output: Linux 3beae0f31cdf 5.18.18-100.fc35.x86_64 #1 SMP PREEMPT_DYNAMIC
Wed Aug 17 16:09:22 UTC