Bug#600548: Tab completion for mount has extra escape characters when spaces are present

2010-10-18 Thread LaMont Jones
On Sun, Oct 17, 2010 at 11:25:13PM -0700, Aaron Barany wrote: After a little more experimentation, it appears that it only adds extra escape characters if mount (and unmount) are preceded by sudo. The only reason why umount worked for my test in my original message is because I didn't specify

Bug#600548: Tab completion for mount has extra escape characters when spaces are present

2010-10-18 Thread Aaron Barany
I'm using the standard bash shell. Many programs seems to have rather complex tab completion behavior, including command line options and additional arguments to command line options. For example, after apt-get install it knows the next argument is a package name. I figured that there was a

Bug#600548: Tab completion for mount has extra escape characters when spaces are present

2010-10-18 Thread Aaron Barany
After a little more experimentation, it appears that it only adds extra escape characters if mount (and unmount) are preceded by sudo. The only reason why umount worked for my test in my original message is because I didn't specify sudo. Adding sudo in front of other commands, such as cat and ls

Bug#600548: Tab completion for mount has extra escape characters when spaces are present

2010-10-17 Thread Aaron Barany
Package: mount Version: 2.17.2-3.3 Severity: minor Whenever you type the mount command in the terminal and tab-complete a mount point with spaces, extra escape characters are present. For example: mount /media/Shared\\\ Files Notice how there's 2 additional escape characters, which would cause