Date: Tue, 13 Jul 1999 18:30:01 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: bin/12578: `` subshell taints PWD Message-ID: <30350.931883401@axl.noc.iafrica.com> In-Reply-To: Your message of "Tue, 13 Jul 1999 18:13:42 %2B0200." <199907131613.SAA09770@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Jul 1999 18:13:42 +0200, Oliver Fromme wrote: > Command substitution certainly has to spawn a subshell, even > for built-in commands, because otherwise you could modify > parent shell variables within command substitutions. But isn't that exactly what's happening here, where PWD is being tainted by the commands evaluated within the substitution? Ciao, Sheldon. 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?30350.931883401>