Date: Fri, 3 Mar 2000 11:22:32 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Assar Westerlund <assar@sics.se> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, current@FreeBSD.ORG Subject: Re: C shell scripts (was: Re: which(1), rewritten in C?) Message-ID: <200003031622.LAA73168@khavrinen.lcs.mit.edu> In-Reply-To: <5log8wjb2e.fsf@assaris.sics.se> References: <20000303005651.A62723@dragon.nuxi.com> <200003030909.KAA72276@hugo10.ka.punkt.de> <20000303073621.A91188@dragon.nuxi.com> <5lln40qcpj.fsf@assaris.sics.se> <200003031556.KAA73010@khavrinen.lcs.mit.edu> <5log8wjb2e.fsf@assaris.sics.se>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On 03 Mar 2000 17:03:05 +0100, Assar Westerlund <assar@sics.se> said: > Sure, but there's a /usr/bin/which program. Do you suggest we should > remove it? I don't have any problems with that... The original `which' was a C shell script. Its purpose was specifically to explain how the C shell would locate a particular command. That's why the Korn shell introduced `type'. This functionality *needs* to be a shell builtin -- the only reason an external C shell script worked (most of the time) was that csh insists on reading .cshrc even for non-interactive shells. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003031622.LAA73168>