Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Mar 2000 16:52:19 +0000
From:      Peter Edwards <peter.edwards@openet-telecom.com>
To:        Assar Westerlund <assar@sics.se>, current@freebsd.org
Subject:   Re: C shell scripts (was: Re: which(1), rewritten in C?)
Message-ID:  <38BFEDC3.83ED3A80@openet-telecom.com>
References:  <20000303005651.A62723@dragon.nuxi.com> <200003030909.KAA72276@hugo10.ka.punkt.de> <20000303073621.A91188@dragon.nuxi.com> <5lln40qcpj.fsf@assaris.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 default Solaris .cshrc that changes $path.
Needless to say, "which" was somewhat misleading :-)
Ugh.
--
Peter.


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?38BFEDC3.83ED3A80>