[Top][All Lists]

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

Re: Documentation Update

From: Dennis Williamson
Subject: Re: Documentation Update
Date: Fri, 12 Dec 2014 13:10:25 -0600

On Fri, Dec 12, 2014 at 12:32 PM, Bob Proulx <address@hidden> wrote:
Greg Wooledge wrote:
> David J. Haines wrote:
> > When started interactively, bash sets the extglob shopt; however, that
> > fact seems to have been overlooked in the manpage.
> This is a compile-time setting.  Your vendor probably turned this on.
> imadev:~$ bash-4.3
> imadev:~$ shopt | grep extglob
> extglob         off
> imadev:~$ exit

Also some vendors place a lot of customization in /etc/profile,
/etc/profile.d/*, /etc/bash_otherplaces sourced in the above.  It
might be turned on by one of those.

I see a lot of hits in the bash_completion add-on files.  Should we be
looking at:

  $ grep -r "shopt -s extglob" /etc/bash*
  /etc/bash_completion.d/nmh:    shopt -s extglob
  /etc/bash_completion.d/libreoffice.sh:    test $g -eq 0 && shopt -s extglob
  /etc/bash_completion.d/mercurial:shopt -s extglob
  /etc/bash_completion.d/subversion:# pattern matching enabled (use 'shopt -s extglob progcomp' to enable
  /etc/bash_completion.d/subversion:shopt -s extglob


Perhaps you should check for shopt -u extglob reversing those. 

Visit serverfault.com to get your system administration questions answered.

reply via email to

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