I discovered that bash can't work with files with "!" in their names.
Thi bug presents in Precise 12.04 with bash 4.2-2ubuntu2.
So the following commands not work too:
$touch !file.txt
        bash: !file.txt: event not found
$touch file!.txt
        bash: !.txt: event not found

If I manually escape the "!" character, all commands work.
The sh shell works normally with and without escaping, but it have no 
auto-completion.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/622106

Title:
  history expansion conflicts with variable expansion, maybe token
  parsing issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/622106/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to