Bug 103177 - bash: tab completion fails with using ~ homedir expansion
Summary: bash: tab completion fails with using ~ homedir expansion
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: Other All
: P5 - None : Minor
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 20:41 UTC by Jeff Mahoney
Modified: 2005-08-10 09:42 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mahoney 2005-08-09 20:41:30 UTC
mkdir ~/"some directory with ()'s"

case 1, works:
cd ~
cd some<tab>
result: cd some\ directory\ with\ \(\)\'s/

case 2, works:
cd /home/<user>/some<tab>
result: cd /home/jeffm/some\ directory\ with\ \(\)\'s/

case 3, fails:
cd ~/some<tab>
result: cd ~/some\ directory\ with\ ()'s/
expected result: cd ~/some\ directory\ with\ \(\)\'s/

In case 3, the parens and the ' are not escaped, resulting in a syntax error
when the command is entered.

This bug is also present in SL9.3. tcsh works fine.
Comment 1 Dr. Werner Fink 2005-08-10 09:42:25 UTC
fixed.