Subject: Re: /usr/bin/which is a csh script!!?!
To: Greywolf <greywolf@starwolf.com>
From: Ben Harris <bjh21@netbsd.org>
List: current-users
Date: 04/30/2003 20:15:43
On Wed, 30 Apr 2003, Greywolf wrote:

> Thus spake Ben Harris ("BH> ") sometime Today...
>
> BH> Date: Wed, 30 Apr 2003 19:05:41 +0100
> BH> From: Ben Harris <bjh21@netbsd.org>
> BH> To: david@l8s.co.uk
> BH> Cc: current-users@netbsd.org
> BH> Subject: Re: /usr/bin/which is a csh script!!?!
> BH>
> BH> In article <20030430090531.Q26297@snowdrop.l8s.co.uk> you write:
> BH> >> 	# NOTE:  If this were a ksh script then it could just call "command -v"
> BH> >
> BH> >Which also works in /bin/sh since it is required by posix.
> BH>
> BH> Which POSIX?  IEEE Std 1003.1-2001 certainly doesn't include it, and
> BH> neither does IEEE Std 1003.2-1992.
>
> Sorry, read "Which also works..." as "'which' also works...is required
> by posix."

Heh.  You're not the only one.  It's these pesky commands whose names are
English words: no proper Unix command has vowels in it.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>