bug-bash
[Top][All Lists]
Advanced

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

No filename expansion in shell-expand-line


From: Martin Schulte
Subject: No filename expansion in shell-expand-line
Date: Fri, 12 Jan 2024 09:28:20 +0100

Hello,

from the documentation I understand that shell-expand-line (ESC CTRL-E) should 
do alias expansion, history expansion, brace expansion, tilde expansion, shell 
parameter expansion, command substitution, arithmetic expansion, process 
substitution (if supported by the operation system), word splitting, filename 
expansion and quote removal.

$ echo $BASH_VERSION
5.2.15(1)-release
$ echo R*
README
$ echo

$ ls !! {a..c} ~root $TERM $(date +%F) $((6*7)) <(cat /etc/passwd) "hello" R*

After pressing ESC CTRL-E the last line is replaced by:

ls --color=auto echo {a..c} ~root xterm-256color 2024-01-12 42 /dev/fd/63 hello

So, everything works fine execept filename expansion, which seems to be missing.

Or do I understand something wrong?

Best regards,

Martin



reply via email to

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