1 |
On 01:27 Tue 03 Mar , Mike Frysinger wrote: |
2 |
> On Monday 02 March 2009 22:56:27 Donnie Berkholz wrote: |
3 |
> > Actually seems like quite a few of the bash-completion scripts have |
4 |
> > issues with 4.0 ... might want to just run through those. |
5 |
> |
6 |
> i dont use bash completion so i dont have any actually installed. run `bash - |
7 |
> n` on each one on your system and let me know which ones result in errors. |
8 |
|
9 |
for i in *; do bash -n $i || echo FAILED $i; done |
10 |
|
11 |
base: line 117: syntax error in conditional expression: unexpected token `(' |
12 |
base: line 117: syntax error near `*$1+([' |
13 |
base: line 117: ` [[ "$( bind -v )" = *$1+([[:space:]])on* ]]' |
14 |
FAILED base |
15 |
bittorrent: line 14: syntax error near unexpected token `(' |
16 |
bittorrent: line 14: ` --@(responsefile|saveas))' |
17 |
FAILED bittorrent |
18 |
bzr: line 29: syntax error in conditional expression: unexpected token `(' |
19 |
bzr: line 29: syntax error near `@($' |
20 |
bzr: line 29: ` if [[ ${COMP_WORDS[1]} != @($helpCmds) ]] && \' |
21 |
FAILED bzr |
22 |
dep: line 13: syntax error in conditional expression: unexpected token `(' |
23 |
dep: line 13: syntax error near `--${_dep_completion_shopt_long[$j]}?(=' |
24 |
dep: line 13: ` [[ "${COMP_WORDS[$i]}" == --${_dep_completion_shopt_long[$j]}?(=*) ]] || continue' |
25 |
FAILED dep |
26 |
dsniff: line 74: syntax error near unexpected token `(' |
27 |
dsniff: line 74: ` -@(r|w|f))' |
28 |
FAILED dsniff |
29 |
freeciv: line 14: syntax error near unexpected token `(' |
30 |
freeciv: line 14: ` -@(f|g|l|r|-file|-log|-gamelog|-read))' |
31 |
FAILED freeciv |
32 |
genkernel: line 50: unexpected EOF while looking for matching `)' |
33 |
genkernel: line 74: syntax error: unexpected end of file |
34 |
gentoo: line 350: syntax error in conditional expression: unexpected token `(' |
35 |
gentoo: line 350: syntax error near `"-@(S' |
36 |
gentoo: line 350: ` if [[ ${action} == "--search" ]] || [[ ${COMP_LINE} == *" "-@(S|-searchdesc)* ]] || \' |
37 |
FAILED gentoo |
38 |
gkrellm: line 14: syntax error near unexpected token `(' |
39 |
gkrellm: line 14: ` -@(t|-theme))' |
40 |
FAILED gkrellm |
41 |
gpg2: line 17: syntax error near unexpected token `(' |
42 |
gpg2: line 17: ` -@(s|-sign|-clearsign|-options|-decrypt))' |
43 |
FAILED gpg2 |
44 |
herdstat: line 81: syntax error in conditional expression: unexpected token `(' |
45 |
herdstat: line 81: syntax error near `?(-' |
46 |
herdstat: line 81: ` if [[ ${prev} == ?(-)-m?(etadata) ]] ; then' |
47 |
FAILED herdstat |
48 |
mailman: line 19: syntax error near unexpected token `(' |
49 |
mailman: line 19: ` -@(r|d|-regular-members-file=|-digest-members-file=))' |
50 |
FAILED mailman |
51 |
mcrypt: line 14: syntax error near unexpected token `(' |
52 |
mcrypt: line 14: ` -@(g|-openpgp-z))' |
53 |
FAILED mcrypt |
54 |
mercurial: line 100: syntax error in conditional expression: unexpected token `(' |
55 |
mercurial: line 100: syntax error near `@($' |
56 |
mercurial: line 100: ` if [[ ${COMP_WORDS[i-1]} == @($filters|$global_args) ]]; then' |
57 |
FAILED mercurial |
58 |
modules: line 62: syntax error near unexpected token `(' |
59 |
modules: line 62: ` @(add|display|help|load|show|whatis))' |
60 |
FAILED modules |
61 |
monodevelop: line 35: syntax error in conditional expression: unexpected token `(' |
62 |
monodevelop: line 35: syntax error near `@(b' |
63 |
monodevelop: line 35: ` if [[ ${COMP_WORDS[i]} == @(build|generate-makefiles|setup) ]]; then' |
64 |
FAILED monodevelop |
65 |
R: line 113: syntax error in conditional expression: unexpected token `(' |
66 |
R: line 113: syntax error near `@(-' |
67 |
R: line 113: ` if [[ ${COMP_WORDS[$COMP_CWORD-1]} == @(-v|--version|RHOME|-h|--help) ]] ; then' |
68 |
FAILED R |
69 |
subversion: line 72: syntax error in conditional expression: unexpected token `(' |
70 |
subversion: line 72: syntax error near `@(d' |
71 |
subversion: line 72: ` if [[ $opt == @(dir|all) && -d "$f" ]] ; then' |
72 |
FAILED subversion |
73 |
_subversion: line 33: syntax error near unexpected token `(' |
74 |
_subversion: line 33: ` -@(F|-file|-targets))' |
75 |
FAILED _subversion |
76 |
|
77 |
|
78 |
|
79 |
-- |
80 |
Thanks, |
81 |
Donnie |
82 |
|
83 |
Donnie Berkholz |
84 |
Developer, Gentoo Linux |
85 |
Blog: http://dberkholz.wordpress.com |