[Bash-completion-devel] [bash-completion-Bugs][313890] Warnings on completion of "sudo \command"

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Nov 6 15:14:07 UTC 2012


bash-completion-Bugs item #313890, was changed at 2012-11-06 19:14 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313890&group_id=100114

Status: Open
>Priority: 1
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Warnings on completion of "sudo \command" 
Distribution: None
Originally reported in: None
Milestone: 2.0
>Status: Fix Committed
Original bug number: 


Initial Comment:
For example, "sudo \rm /" <Tab> gives me a bunch of warnings:

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
...

The warnings are getting printed until you hit ^C

----------------------------------------------------------------------

>Comment By: Igor Murzov (garik-guest)
Date: 2012-11-06 19:14

Message:
The problem is fixed in commit:
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=2472fad5de03ef91864926240a709b3f2b72a173

But bash-completion still can't handle notations like "\rm". May be it should be fixed later.

----------------------------------------------------------------------

Comment By: Igor Murzov (garik-guest)
Date: 2012-11-04 14:14

Message:
Confirmed.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313890&group_id=100114



More information about the Bash-completion-devel mailing list