From: Junio C Hamano Date: Thu, 15 Sep 2005 07:58:39 GMT Subject: Re: [PATCH] Remove shell dependency in env.c Message-ID: <7vy85yahjk.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <43290BB8.90501@zytor.com> "H. Peter Anvin" writes: > This patch adds an invocation of "env", so rsh.c works for C-shell users > as well as Bourne shell users. Hmph. I think the original code is buggy already. If the path has a single quote in it, you would get into a problem. If the remote end first interprets what is given to it with C-shell, then it probably would also barf if path had a '!' in it, too, even though we quote the entire thing within a single-quote pair.