Re: Problem after removing keybinding for bind -m vi-insert '"jj": "\e\e"'

2017-11-24 Thread Chet Ramey
On 11/20/17 11:25 PM, Clark Wang wrote: > [STEP 100] # echo $BASH_VERSION > 4.4.12(4)-release > [STEP 101] # bind -m vi-insert '"jj": "\e\e"' > [STEP 102] # bind -X > "jj": "\e\e" > [STEP 103] # bind -r jj > [STEP 104] # bind -X > [STEP 105] # <-- Here when I press j it still waits for about 1

foo=$*: ^A and DEL are prefixed or removed

2017-11-24 Thread Martijn Dekker
Here's another corner-case bug with assigning $* to a variable (i.e.: foo=$*). If IFS is empty, the $* expansion removes any $'\001' (^A) and $'\177' (DEL) characters. If IFS contains a value, each ^A and DEL character is prefixed by another $'\001'. If IFS is unset, the bug does not show up at all