[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation Update
From: |
Bob Proulx |
Subject: |
Re: Documentation Update |
Date: |
Fri, 12 Dec 2014 11:32:41 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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
Bob
Re: Documentation Update, Chet Ramey, 2014/12/12