On Wed, Sep 09, 2015 at 08:10:52PM -0500, Dennis Williamson wrote:
> On Wed, Sep 9, 2015 at 7:49 PM, Michael Convey <address@hidden> wrote:
> > In the following example, what does the -x option do?
> > $ p='*' bash -xc 'ls $p'
> $ help set | grep -- '-x'
> xtrace same as -x
> -x Print commands and their arguments as they are executed.
> The -x and -v options are turned off.
Also, buried deep in the bottom of the man page's section on the set
builtin, is this sentence:
The options can also be specified as arguments to an invocation of
the shell.
I thought there was some wording to that effect in the INVOCATION section
as well, but I couldn't find it.