Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211250

Summary: app-shells/bash-completion for sudo mount does not like backslashes (\)
Product: Gentoo Linux Reporter: Johannes Krude <johannes>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Lowest    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 249271    
Bug Blocks:    

Description Johannes Krude 2008-02-24 11:42:22 UTC
I type:
sudo mount -o loop test\ test/
then I hit tab one time and the following appears:
grep: Angehängter Backslash (»\«)
grep: Angehängter Backslash (»\«)
grep: Angehängter Backslash (»\«)
grep: Angehängter Backslash (»\«)

This only happens if I use sudo and mount together.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-24 11:49:45 UTC
Perhaps could you give us some useful example why this is a real-world problem for anyone???
Comment 2 Johannes Krude 2008-02-25 13:11:44 UTC
Because it makes bash-completion useless in this case.
I think my description was not clear enough. Bash-completion does not work for sudo mount and backslashes in filenames.
Comment 3 Santiago M. Mola (RETIRED) gentoo-dev 2008-12-18 22:56:40 UTC
app-shells/bash-completion-20081218 is in the tree and should fix this bug. Reopen if the problem persists in the new version.

Thanks for reporting!