OpenSSH 7.7 t1 script breakage

Randall S. Becker rsbecker at nexbridge.com
Sat Apr 14 01:25:13 AEST 2018


On April 13, 2018 11:13 AM, Scott Neugroschl wrote:
> -----Original Message-----
> From: openssh-unix-dev <openssh-unix-dev-
> bounces+scott_n=xypro.com at mindrot.org> On Behalf Of David Newall
> > I think not.  $(PWD) is a valid expansion of a shell variable when using
bash,
> maybe also Bourne shell, whereas >`pwd` is the output of the pwd
> command.
> 
> Isn't $(PWD) a command substitution in bash?  ${PWD} is shell variable
> expansion.

Hi Scott,

$(PWD) is evaluated in supposed to be a make evaluation, while ${PWD} is a
bash/ksh eval. I'm still investigating whether this is a coreutils issue. ()
in bash/ksh is a sub-shell invocation so would be really bad or chaotic if
that was passed in.

Cheers,
Randall



More information about the openssh-unix-dev mailing list