zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: SIGPIPE echoing to fifo exits zsh
Date: Wed, 16 Jan 2013 09:44:58 +0000	[thread overview]
Message-ID: <20130116094458.0e3edc4d@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <130115185341.ZM18422@torch.brasslantern.com>

On Tue, 15 Jan 2013 18:53:41 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> Hrm.  If this were a script instead of an interactive command at the
> prompt, the correct behavior would in fact be to exit on SIGPIPE.  I
> don't know offhand if that's also (per POSIX spec for example) correct
> in this instance.

I tried a few shells and got a roughly 50-50 split.  As far as I could
make out, in fact, bash behaved differently depending whether or not
invoked as "sh", but I haven't looked further.

pws


      parent reply	other threads:[~2013-01-16  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 15:43 Christian Neukirchen
2013-01-15 23:16 ` Han Pingtian
2013-01-16  2:53   ` Bart Schaefer
2013-01-16  9:30     ` Han Pingtian
2013-01-16  9:44     ` Peter Stephenson [this message]

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=20130116094458.0e3edc4d@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).