On Wed, Oct 10, 2018 at 08:58:43AM +0900, Hajime Edakawa wrote: > I have challenged to try to make shell_expand_line in ksh. > You can check it if you type M-C-e. Thanks for your work.
> $ echo "$(echo a b)" > $ echo "a b" > > $ alias ll='ls -l' > $ ll $(echo a b) hoge "$(( 1 + 1 ))" ll bar > $ ls -l a b hoge "2" ll bar This looks nice. With `alias ls=ls\ -l' and successive expand-line invocations: will `ls' be expanded over and over again? Did you test it in vi mode as well? > To be honest, I'm not sure if this is correct. > I only like OpenBSD, That's why I'm so sorry if they're wrong Your diff does not apply to -CURRENT (written against 6.3) and lacks documentation updates to ksh(1).