[Top][All Lists]

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

Re: [Help-bash] bash with the -x option

From: Greg Wooledge
Subject: Re: [Help-bash] bash with the -x option
Date: Thu, 10 Sep 2015 08:37:06 -0400
User-agent: Mutt/

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.

reply via email to

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