From owner-freebsd-current Fri Mar 3 8: 3:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (assaris.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id 8386837B713 for ; Fri, 3 Mar 2000 08:03:10 -0800 (PST) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id RAA22761; Fri, 3 Mar 2000 17:03:06 +0100 (CET) (envelope-from assar) To: Garrett Wollman Cc: current@FreeBSD.ORG Subject: Re: C shell scripts (was: Re: which(1), rewritten in C?) References: <20000303005651.A62723@dragon.nuxi.com> <200003030909.KAA72276@hugo10.ka.punkt.de> <20000303073621.A91188@dragon.nuxi.com> <5lln40qcpj.fsf@assaris.sics.se> <200003031556.KAA73010@khavrinen.lcs.mit.edu> From: Assar Westerlund Date: 03 Mar 2000 17:03:05 +0100 In-Reply-To: Garrett Wollman's message of "Fri, 3 Mar 2000 10:56:26 -0500 (EST)" Message-ID: <5log8wjb2e.fsf@assaris.sics.se> Lines: 8 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garrett Wollman writes: > The error is in using `which' with another shell. The correct command > to use with POSIX-ish shells (sh, ksh, bash, etc.) is `type'. Sure, but there's a /usr/bin/which program. Do you suggest we should remove it? I don't have any problems with that... /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message