zsh-workers
 help / color / mirror / code / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: dana <dana@dana.is>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH v3 1/1] exec: run final pipeline command in a subshell in sh mode
Date: Sat, 10 Apr 2021 23:59:05 +0000	[thread overview]
Message-ID: <YHI7ydAD3VhwhmlN@camp.crustytoothpaste.net> (raw)
In-Reply-To: <4127B686-0CF1-4F6C-B2E7-DD3428CAAB5F@dana.is>

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

On 2021-04-10 at 23:02:39, dana wrote:
> On 3 Jan 2021, at 18:22, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> > Since zsh may be used as /bin/sh in some cases (such as macOS Catalina),
> > it makes sense to have the common sh behavior when emulating sh
> 
> This seems inoffensive to me. Since nobody objected to the code itself in the
> previous discussions i've committed it.

Great, thanks.

> I did want to mention that macOS does *not* use zsh as /bin/sh. That continues
> to be provided by bash 3.2; only the default interactive shell was changed to
> zsh. I don't think i know of any system that uses zsh for /bin/sh

That's definitely true by default, but I believe users can also choose
to set dash or zsh as /bin/sh by changing /var/select/sh, as of
Catalina.
-- 
brian m. carlson (he/him or they/them)
Houston, Texas, US

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

      reply	other threads:[~2021-04-10 23:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04  0:22 [PATCH v3 0/1] Run pipeline command in " brian m. carlson
2021-01-04  0:22 ` [PATCH v3 1/1] exec: run final pipeline command in a " brian m. carlson
2021-03-27 19:34   ` Lawrence Velázquez
2021-04-03 15:49     ` Lawrence Velázquez
2021-04-10 20:05       ` Lawrence Velázquez
2021-04-10 23:02   ` dana
2021-04-10 23:59     ` brian m. carlson [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=YHI7ydAD3VhwhmlN@camp.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=dana@dana.is \
    --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).