Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH v3 1/1] exec: run final pipeline command in a subshell in sh mode



On 3 Jan 2021, at 18:22, brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> 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.

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

dana





Messages sorted by: Reverse Date, Date, Thread, Author