Please document on the man page somewhere that set -v, +v inside case
statements is special:
$ cat A
case x in x)
set -v
: B
case y in y)
set -v
: Z
;;
esac
On Tue, Apr 20, 2021 at 11:07:51PM +0800, 積丹尼 Dan Jacobson wrote:
> Please document on the man page somewhere that set -v, +v inside case
> statements is special:
> $ cat A
> case x in x)
> set -v
> : B
> case y in y)
> set -v
>
On Tue, Apr 20, 2021 at 2:37 PM Greg Wooledge wrote:
> With case, or any other compound command, the entire compound command is
> read from the script and parsed, before bash can start running it. So, by
> the time the set -v is executed, the entire case command has already been
> read.
Is not
On Tue, Apr 20, 2021 at 09:25:04PM -0400, Dmitry Goncharov via Bug reports for
the GNU Bourne Again SHell wrote:
> On Tue, Apr 20, 2021 at 2:37 PM Greg Wooledge wrote:
>
> > With case, or any other compound command, the entire compound command is
> > read from the script and parsed, before bash