Re: [PATCH v2 0/1] Run pipeline command in subshell in sh mode
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Jun 6, 2020, 00:31 UTC
- Message-ID
- <20200606003134.GH6569@camp.crustytoothpaste.net>
- In-Reply-To
- <20200606002241.1578150-2-sandals@crustytoothpaste.net>
On 2020-06-06 at 00:22:40, brian m. carlson wrote:
> POSIX sh implementations run each command in a pipeline in a subshell, > although zsh (and AT&T ksh) do not: instead, they run the final command > in the main shell. This leads to very different behavior when the final > command is a shell function which modifies variables.
Sorry about this and the following patch. I forgot to clean my patches directory before sending, and accidentally sent some patches for zsh. My apologies.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204