[Bug 583667] New: bash completion (with TAB key) gets confused by special character, e.g. (
http://bugzilla.novell.com/show_bug.cgi?id=583667 http://bugzilla.novell.com/show_bug.cgi?id=583667#c0 Summary: bash completion (with TAB key) gets confused by special character, e.g. ( Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Winfrid.Tschiedel@t-online.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=345188) --> (http://bugzilla.novell.com/attachment.cgi?id=345188) Testfile with special characters in the name - used for completion with TAB key User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8 bash completion (with TAB key) gets confused by special character, e.g. ( Reproducible: Always Steps to Reproduce: 1. Have file with special characters in the name, e.g.!DigitalDreamGirls-DVD20(Pre-Final)_6113.zip 2. run unzip \!D<hit>TAB key Actual Results: unzip \!Dbash: eval: line -141: syntax error near unexpected token `(' bash: eval: line -141: `echo !DigitalDreamGirls-DVD20(Pre-Final)_6113.zip' p italDreamGirls-DVD20\(Pre-Final\)_6113.zip Archive: !DigitalDreamGirls-DVD20(Pre-Final)_6113.zip inflating: DigitalDreamGirls-DVD20(Pre-Final)_6113.csv Expected Results: in tcsh/sh there no problem, using bash should not issue any warnings, under both shells the filename is completed without any error/warning /bin/bash --help GNU bash, version 4.0.35(1)-release-(x86_64-suse-linux-gnu) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c1
--- Comment #1 from Winfrid Tschiedel
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c2
Marco Poletti
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c3
--- Comment #3 from Winfrid Tschiedel
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c
Winfrid Tschiedel
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c4
--- Comment #4 from Marco Poletti
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c5
Marco Poletti
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c6
--- Comment #6 from Winfrid Tschiedel
If you don't have the file /etc/bash_completion, this means that you haven't installed the package "bash-completion". That package provides an alternative completion to bash, much more powerful than the default one.
However, this issue should be reported to the bash developers if it is still an issue in the latest bash. I'll try to package a newer bash and reproduce the bug. I will reply again to this bug when I have news.
Thanks for the report!
Sorry - I did not find any package bash-completion for openSUSE 11.2 can you help me ? TIA Winfrid -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c7
Winfrid Tschiedel
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c8
Marco Poletti
http://bugzilla.novell.com/show_bug.cgi?id=583667
http://bugzilla.novell.com/show_bug.cgi?id=583667#c9
--- Comment #9 from Winfrid Tschiedel
participants (1)
-
bugzilla_noreply@novell.com