Subject: Re: PR's about which(1)
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 04/01/2004 14:33:39
In article <20040401141028.GA58203@gateway.pointless.nl>,
Peter Postma <peter.postma@chello.nl> wrote:
>Recently, someone on tech-userlevel pointed out that the csh script for
>which(1) is not going to be replaced with a C program or something else.
>There are currently 2 open PR's (3191, 13462) about which(1), which
>suggests removing/reimplementing the current which(1).  Those PR's were
>a reason for me to make a port of a which(1) implementation in C.
>
>So.. what should be done with those PR's?  Can they be closed?

I think that it is time for which to die, and with it the PR's open for it.
All our shells currently have builtins for it.

[9:30am] 71>/bin/csh
26>which which
which: shell built-in command.
27>exit
[9:31am] 72>/bin/sh
$ type type
type is a shell builtin
$ exit 

christos