[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 13:59:50 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Dennis Williamson wrote:
> Bob Proulx wrote:
> > 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.
Good point.
$ grep -r "shopt -. extglob" /etc/bash*
/etc/bash_completion.d/nmh: orig_opts=$(shopt -p extglob)
/etc/bash_completion.d/nmh: shopt -s extglob
/etc/bash_completion.d/libreoffice.sh: shopt -q extglob && g=1
/etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && shopt -s extglob
/etc/bash_completion.d/libreoffice.sh: test $g -eq 0 &&
shopt -u extglob
/etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && shopt -u extglob
/etc/bash_completion.d/mercurial:shopt -s extglob
/etc/bash_completion.d/subversion:shopt -s extglob
Bob
Re: Documentation Update, Chet Ramey, 2014/12/12