[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Serious tab completion bug
From: |
Joseph Graham |
Subject: |
Serious tab completion bug |
Date: |
Fri, 06 Mar 2015 21:54:05 +0000 |
User-agent: |
KMail/4.14.1 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
Hi,
I don't know what the etiquette is for using this mailing list but I hope
it's OK to just get straight to the bug.
*STEPS TO REPRODUCE*
1. run the following commands to get everything set up:
$ touch hiya
$ mkdir '$HOME'
$ touch '$HOME/hiya'
2. Now to reproduce the bug, type:
$ rm "$HOME/hi
THEN PRESS TAB!
It incorrectly escapes the $ resulting in:
$ rm "\$HOME/hiya"
If the user does not notice and presses return it will DELETE THE
WRONG FILE!!!
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
libreadline6 6.3-8
Debian Testing
Thankyou for maintaining bash and happy debugging!
Joseph
- Serious tab completion bug,
Joseph Graham <=