|
From: | Clark Wang |
Subject: | "shell-expand-line" wrongly(?) expanded $'foo' to $foo |
Date: | Wed, 1 Jul 2020 20:48:42 +0800 |
See the following example (tested with bash 5.0.7): # bind -q shell-expand-line shell-expand-line can be invoked via "\e\C-e". # echo $PWD # press ESC C-e # echo /root # echo $( pwd ) # press ESC C-e # echo /root # echo $'foo' # press ESC C-e # echo $foo Is this a bug? -clark
[Prev in Thread] | Current Thread | [Next in Thread] |