C shell scripts (was: Re: which(1), rewritten in C?)

2000-03-03 Thread Patrick M. Hausen
Hi all! On Thu, Mar 02, 2000 at 08:47:19PM -0500, Dan Papasian wrote: While this may sound crazy, I was tired of 'which' taking a long time to complete on my 486 dx4/100 when it was under extereme pressure, so I rewrote it in C :) I don't think that it is worthwhile replacing this

Re: C shell scripts (was: Re: which(1), rewritten in C?)

2000-03-03 Thread Peter Edwards
Assar Westerlund wrote: There's a real reason for not writing this in csh. Because the built-in function will return results for csh, which might not be the right ones for other shells. I got bitten by this by HP-UX 10's csh-based "which". My solaris-hosted NFS home directory had the