From: Zando Fardones <bluesun654@gmail.com>
To: dash@vger.kernel.org
Subject: [BUG] Here-document redirection with vi/emacs on
Date: Tue, 27 Jun 2017 16:29:32 +0200 [thread overview]
Message-ID: <CAPLrsYe1hemq+pOTRERmxc3M0-QrHhGm9PUOhs7pJUN5-cOk6A@mail.gmail.com> (raw)
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
next reply other threads:[~2017-06-27 14:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 14:29 Zando Fardones [this message]
2017-06-29 23:33 ` [BUG] Here-document redirection with vi/emacs on Harald van Dijk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPLrsYe1hemq+pOTRERmxc3M0-QrHhGm9PUOhs7pJUN5-cOk6A@mail.gmail.com \
--to=bluesun654@gmail.com \
--cc=dash@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).