bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document that set -v inside case statements is special


From: Greg Wooledge
Subject: Re: Document that set -v inside case statements is special
Date: Tue, 20 Apr 2021 21:33:47 -0400

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 <greg@wooledge.org> 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 this what op wanted to be documented?

It's already documented.

              -v      Print shell input lines as they are read.

That's what it does.  That's all that needs to be said in the official
documentation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]