Date: Mon, 12 Jul 1999 17:31:28 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: hackers@freebsd.org Subject: Re: bin/12578: `` subshell taints PWD Message-ID: <71323.931793488@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
Hi folks, I'm hoping someone here is interested in tracking down a bug in our /bin/sh . Changing directory within a backtick (``) subshell in sh taints the parent's working directory. The following sample code gives the expected result for /bin/csh, but breaks for /bin/sh cd /tmp echo .`cd /`. pwd Any takers? Ciao, Sheldon. PS: And no, this is not an invitation to chat about the default shell for the base system. :-) PPS: Shhhh! PPPS: www.shhhh.com 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?71323.931793488>