On Thu, Feb 03, 2005 at 03:38:41PM +0000, Joe Orton wrote: > On Thu, Feb 03, 2005 at 07:32:32AM -0800, Justin Erenkrantz wrote: > > On Thu, Feb 03, 2005 at 07:43:48AM -0500, Jeff Trawick wrote: > > > "which" is not portable... z/OS doesn't have it, and I would assume > > > that z/OS isn't the only reason we've been dragging around PrintPath > > > all this time... > > > > Yikes. Are there really other supported Unix's that don't have which? > > which is not safe to use on NetBSD; it runs the csh login scripts which > may output /etc/motd or other horrid stuff like that.
? % file /usr/bin/which /usr/bin/which: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 2.99.15, dynamically linked (uses shared libs), not stripped I don't understand that last comment.. Cheers, Patrick