Cannot reproduce with these versions:

dualbus@yaqui:~/local/src/gnu/bash$ "a nonexistent command name with spaces"
bash: a nonexistent command name with spaces: command not found
dualbus@yaqui:~/local/src/gnu/bash$ 
GNU bash, version 4.4.0(1)-devel (x86_64-unknown-linux-gnu)

dualbus@yaqui:~$ "a nonexistent command name with spaces"
bash: a nonexistent command name with spaces: command not found
dualbus@yaqui:~$ 
GNU bash, version 4.3.33(1)-release (x86_64-pc-linux-gnu)

dualbus@yaqui:~/local/src/gnu/bash$ "a nonexistent command name with spaces"
bash: a nonexistent command name with spaces: command not found
dualbus@yaqui:~/local/src/gnu/bash$ 
GNU bash, version 4.3.30(1)-release (x86_64-unknown-linux-gnu)


What's the output of: declare -f command_not_found_handle


-- 
Eduardo Bustamante | https://dualbus.me/

Reply via email to