[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: caller returns wrong line number in command substitution
From: |
Robert Elz |
Subject: |
Re: caller returns wrong line number in command substitution |
Date: |
Wed, 19 Oct 2022 06:09:08 +0700 |
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 fixing however - but bash's management of
line numbers has always been "close enough" rather than "accurate".
kre