RE: OpenSSH 7.7 t1 script breakage

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On April 13, 2018 11:13 AM, Scott Neugroschl wrote:
> -----Original Message-----
> From: openssh-unix-dev <openssh-unix-dev-
> bounces+scott_n=xypro.com@xxxxxxxxxxx> 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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux