bug-bash
[Top][All Lists]
Advanced

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

even Here docs are printed upon kill


From: Dan Jacobson
Subject: even Here docs are printed upon kill
Date: Tue, 04 Nov 2003 05:19:23 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

$ cat m.sh
sh <<\EOF
kill $$ #should we really see this comment or this whole line upon kill?
EOF
set -o
$ sh m.sh
m.sh: line 3: 15837 Terminated              sh  <<'EOF'
kill $$ #should we really see this comment or this whole line upon kill?
EOF

allexport       off
braceexpand     on
emacs           off
errexit         off
hashall         on
histexpand      off
history         off
ignoreeof       off
interactive-comments    on
keyword         off
monitor         off
noclobber       off
noexec          off
noglob          off
nolog           off
notify          off
nounset         off
onecmd          off
physical        off
posix           on
privileged      off
verbose         off
vi              off
xtrace          off
$ bash --version
GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)




reply via email to

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