bug-bash
[Top][All Lists]
Advanced

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

command substitution during completion


From: ingok
Subject: command substitution during completion
Date: Sun, 18 Nov 2001 15:57:25 +0100
User-agent: Mutt/1.3.20i

hi,

currently the bash function bash_directory_completion_hook()
performs command substitution (part of expand_string()) when attempting 
directory completion.
i dont think it is ok to execute any parts from the command line
before the user hits a key bound to accept-line  (usually "\C-j" or "\C-m").

ingo
Ingo Koehne <ingok@gmx.net>

Example:
try this as a privileged user to reboot your machine:

# xxx `reboot`/

position the cursor after '/' and hit TAB.





reply via email to

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