[Bash-completion-devel] Bug#684199: Infinite loop of "bash: compopt: -o: option requires an argument"

Anthony DeRobertis anthony at derobert.net
Tue Aug 7 17:24:31 UTC 2012


Package: bash-completion, subversion
Version: 1:2.0-1
Severity: normal

(Not sure which package, bash-completion or subversion, has this bug...)

$ mkdir -p test/{a,b,c,d,e}
$ cd test
$ for d in *; do svn merge <TAB>
bash: compopt: -o: option requires an argument
compopt: usage: compopt [-o|+o option] [-DE] [name ...]
bash: compopt: -o: option requires an argument
compopt: usage: compopt [-o|+o option] [-DE] [name ...]
bash: compopt: -o: option requires an argument
compopt: usage: compopt [-o|+o option] [-DE] [name ...]
bash: compopt: -o: option requires an argument
compopt: usage: compopt [-o|+o option] [-DE] [name ...]
bash: compopt: -o: option requires an argument
compopt: usage: compopt [-o|+o option] [-DE] [name ...]
bash: compopt: -o: option requires an argument
⋮

It appears that actually all that is needed is:

$ do svn <TAB>

But of course, just "svn <TAB>" works fine. Its the presence of the word
"do" in front that causes issues, AFAICT.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2-4
ii  dpkg  1.16.4.3

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list