[BUG] Here-document redirection with vi/emacs on

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

 



Hello,

I think I've found a bug when using the here-document redirection in
an interactive shell. What basically happens is that you can't see the
command output if you set the "vi" or "emacs" options. Please take a
look:

$ set -o vi
$ cat << EOF
> test
> EOF
$ set +o vi
$ cat << EOF
> test
> EOF
test
^ you can see the "test" output only when the vi option is *not* set

$ set -o emacs
$ cat << EOF
> test
> EOF
$ set +o emacs
$ cat << EOF
> test
> EOF
test
^ you can see the "test" output only when the emacs option is *not* set
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux