dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Here-document redirection with vi/emacs on
@ 2017-06-27 14:29 Zando Fardones
  2017-06-29 23:33 ` Harald van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: Zando Fardones @ 2017-06-27 14:29 UTC (permalink / raw)
  To: dash

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-29 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 14:29 [BUG] Here-document redirection with vi/emacs on Zando Fardones
2017-06-29 23:33 ` Harald van Dijk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).