Re: configure shell game

Nico Williams <[email protected]> Tue, 2 Jun 2026 10:20:30 -0500
Newsgroups gmane.network.openssh.devel
Message-ID <ah70vsisbW1HGhp1@ubby>
On Tue, Jun 02, 2026 at 11:28:07PM +1000, Darren Tucker via openssh-unix-dev wrote:
> I was recently reminded of this nonsense from the Solaris /bin/sh while
> running a regression test:
> 
> run test proxy-connect.sh ...
> [...]/proxy-connect.sh: warning: line 6: `...` obsolete, use $(...)
> [...]/proxy-connect.sh: warning: line 6: `...` obsolete, use $(...)
> [...]/proxy-connect.sh: warning: line 15: `...` obsolete, use $(...)

Nowadays $() is POSIX.  Is there any supported system where /bin/sh does
not support $()?  If not then changing the scripts to use $() sounds
like a worthwhile change, but finding the answer to that question may
not be easy.

Nico
--