bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filename completion broken on single quote


From: lolilolicon
Subject: Filename completion broken on single quote
Date: Thu, 13 Oct 2011 22:37:19 +0800

Inside an empty directory:

  touch 1 1\'1
  complete -r ls
  ls 1\'<TAB>       # ls 1\'1
  complete -f ls
  ls 1\'<TAB>       # ls 1
  ls 1\\\'<TAB>     # ls 1\'1

(Note: the comment on the right is the result after pressing <TAB>)

Is this broken behavior?
Why on earth does the user have to double-escape at all?
Is there any benefit of this?

This is the version I use:
GNU bash, version 4.2.10(2)-release (i686-pc-linux-gnu)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]