On 01:27 Tue 03 Mar     , Mike Frysinger wrote:
> On Monday 02 March 2009 22:56:27 Donnie Berkholz wrote:
> > Actually seems like quite a few of the bash-completion scripts have
> > issues with 4.0 ... might want to just run through those.
> 
> i dont use bash completion so i dont have any actually installed.  run `bash -
> n` on each one on your system and let me know which ones result in errors.

for i in *; do bash -n $i || echo FAILED $i; done

base: line 117: syntax error in conditional expression: unexpected token `('
base: line 117: syntax error near `*$1+(['
base: line 117: `    [[ "$( bind -v )" = *$1+([[:space:]])on* ]]'
FAILED base
bittorrent: line 14: syntax error near unexpected token `('
bittorrent: line 14: `          --@(responsefile|saveas))'
FAILED bittorrent
bzr: line 29: syntax error in conditional expression: unexpected token `('
bzr: line 29: syntax error near `@($'
bzr: line 29: ` if [[ ${COMP_WORDS[1]} != @($helpCmds) ]] && \'
FAILED bzr
dep: line 13: syntax error in conditional expression: unexpected token `('
dep: line 13: syntax error near `--${_dep_completion_shopt_long[$j]}?(='
dep: line 13: `                         [[ "${COMP_WORDS[$i]}" == 
--${_dep_completion_shopt_long[$j]}?(=*) ]] || continue'
FAILED dep
dsniff: line 74: syntax error near unexpected token `('
dsniff: line 74: `              -@(r|w|f))'
FAILED dsniff
freeciv: line 14: syntax error near unexpected token `('
freeciv: line 14: `             -@(f|g|l|r|-file|-log|-gamelog|-read))'
FAILED freeciv
genkernel: line 50: unexpected EOF while looking for matching `)'
genkernel: line 74: syntax error: unexpected end of file
gentoo: line 350: syntax error in conditional expression: unexpected token `('
gentoo: line 350: syntax error near `"-@(S'
gentoo: line 350: `     if [[ ${action} == "--search" ]] || [[ ${COMP_LINE} == 
*" "-@(S|-searchdesc)* ]] || \'
FAILED gentoo
gkrellm: line 14: syntax error near unexpected token `('
gkrellm: line 14: `             -@(t|-theme))'
FAILED gkrellm
gpg2: line 17: syntax error near unexpected token `('
gpg2: line 17: `                -@(s|-sign|-clearsign|-options|-decrypt))'
FAILED gpg2
herdstat: line 81: syntax error in conditional expression: unexpected token `('
herdstat: line 81: syntax error near `?(-'
herdstat: line 81: `                if [[ ${prev} == ?(-)-m?(etadata) ]] ; then'
FAILED herdstat
mailman: line 19: syntax error near unexpected token `('
mailman: line 19: `             
-@(r|d|-regular-members-file=|-digest-members-file=))'
FAILED mailman
mcrypt: line 14: syntax error near unexpected token `('
mcrypt: line 14: `              -@(g|-openpgp-z))'
FAILED mcrypt
mercurial: line 100: syntax error in conditional expression: unexpected token 
`('
mercurial: line 100: syntax error near `@($'
mercurial: line 100: `      if [[ ${COMP_WORDS[i-1]} == 
@($filters|$global_args) ]]; then'
FAILED mercurial
modules: line 62: syntax error near unexpected token `('
modules: line 62: `      @(add|display|help|load|show|whatis))'
FAILED modules
monodevelop: line 35: syntax error in conditional expression: unexpected token 
`('
monodevelop: line 35: syntax error near `@(b'
monodevelop: line 35: `         if [[ ${COMP_WORDS[i]} == 
@(build|generate-makefiles|setup) ]]; then'
FAILED monodevelop
R: line 113: syntax error in conditional expression: unexpected token `('
R: line 113: syntax error near `@(-'
R: line 113: `    if [[ ${COMP_WORDS[$COMP_CWORD-1]} == 
@(-v|--version|RHOME|-h|--help) ]] ; then'
FAILED R
subversion: line 72: syntax error in conditional expression: unexpected token 
`('
subversion: line 72: syntax error near `@(d'
subversion: line 72: `  if [[ $opt == @(dir|all) && -d "$f" ]] ; then'
FAILED subversion
_subversion: line 33: syntax error near unexpected token `('
_subversion: line 33: `                 -@(F|-file|-targets))'
FAILED _subversion



-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com

Attachment: pgpyE2LEUsxr2.pgp
Description: PGP signature

Reply via email to