[External] : Re: configure shell game
Jan Pechanec
Jan.Pechanec at oracle.com
Wed Jun 3 16:51:03 AEST 2026
On Wed, Jun 03, 2026 at 08:22:49AM +0200, Jochen Bern wrote:
> Am 02.06.26 um 23:48 schrieb Damien Miller:
> > I'm stuggling to understand why a shell implementer would add such a
> > message. ` isn't deprecated by any standard that I'm aware of [...]
> > This seems like someone's preference that somehow got implemented as
> > a warning.
> My .02: Even if it *were* deprecated for *current* shells of the Bourne
> family, when I ask for a .../bin/sh, I expect it to behave like ye olde
> original Bourne shell, including backticks.
>
> If I want/need to use neologisms like $(...) or (actual example) associative
The $() is actually not neologism, it been documented in sh(1) at least
in The Single UNIX Specification, Version 2, from 1997:
https://pubs.opengroup.org/onlinepubs/7990989775/xcu/chap2.html#tag_001_006_003
>From what I understand, OpenSSH is supported on platforms with /bin/sh
that is even older and does not support $(), and that's why `` is used
in the build/test scripts.
Btw, arrays are not supported by the /bin/sh spec, not even in the
latest SUSv8 from 2024.
--
Jan Pechanec <jan.pechanec at oracle.com>
More information about the openssh-unix-dev
mailing list