Date: Wed, 14 Jul 1999 12:13:09 +0000 From: Niall Smart <niall@pobox.com> To: freebsd-hackers@FreeBSD.ORG Subject: Re: bin/12578: `` subshell taints PWD Message-ID: <378C7ED5.ACBFA8F7@pobox.com> References: <199907131815.UAA12928@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm not sure if XPG4v2 requires command substitution to behave > like that. At least, both Solaris' and DEC UNIX... oops... > True64 UNIX do execute all command substitutions in a subshell > (`pwd` does not affect the surrounding shell), and both claim > XPG4 compliance. They only execute a subshell when they need to: $ echo $$ `echo $$` 14405 14405 $ uname -a SunOS molotov.boi.ie 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-5_10 Regards, Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378C7ED5.ACBFA8F7>