Subject: Re: which(1) is a csh script?
To: Jesper Louis Andersen <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 10/07/2003 12:12:44
On Tue, Oct 07, 2003 at 12:50:27PM +0200, Jesper Louis Andersen wrote:
> Quoting David Laight (firstname.lastname@example.org):
> > For a Posix conformant 'sh' (which should include ksh and netbsd's sh)
> > 'command -v name' or 'comamnd -V name' should work.
> I initially thought which where a standard of some kind, relying on
> a C program. For compliance I will use ''command -v'' instead.
Unfortunately you might have to implement it!
I added the support to sh in netbsd last year, I don't know about
open/freebsd, nor what bash does (but bash is badly non-conformant anyway).
David Laight: email@example.com