From: Liu Xin <email@example.com>
To: Bart Schaefer <firstname.lastname@example.org>
Subject: Re: An incompatible behavior from bash?
Date: Mon, 22 Aug 2022 22:42:05 -0700 [thread overview]
Message-ID: <CAHPdc0mHAJJEydvN2mHx2M8NE+MYLN9ge3pnysNmcf4K_8C9ug@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
Ok, thanks for the clarification.
On Mon, Aug 22, 2022 at 2:44 PM Bart Schaefer <email@example.com>
> On Mon, Aug 22, 2022 at 1:00 AM Liu Xin <firstname.lastname@example.org> wrote:
> > I hold the wrong impression that zsh is compatible with bash. I just
> assume it because I see both Ubuntu and MacOS have replaced bash with it.
> Zsh is mostly compatible with POSIX shell provided that it is invoked
> via the name "sh" (e.g., when linked to /bin/sh). Bash is similarly
> compatible with POSIX when run this way. When run under their own
> names, zsh and bash differ from POSIX in different ways.
> Apple and Ubuntu appear to have concluded that zsh's POSIX
> compatibility is sufficient to use it as "sh". I won't speculate on
> other motivations.
[-- Attachment #2: Type: text/html, Size: 1195 bytes --]
prev parent reply other threads:[~2022-08-23 5:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-19 22:32 Liu Xin
2022-08-20 0:39 ` Lawrence Velázquez
2022-08-22 7:54 ` Liu Xin
2022-08-22 21:44 ` Bart Schaefer
2022-08-23 5:42 ` Liu Xin [this message]
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).