Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hlofm-0004ij-02 for qemu-devel@nongnu.org; Wed, 09 May 2007 12:05:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hlofk-0004fi-5J for qemu-devel@nongnu.org; Wed, 09 May 2007 12:05:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hlofk-0004fe-0V for qemu-devel@nongnu.org; Wed, 09 May 2007 12:05:48 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HloYW-0002im-ES for qemu-devel@nongnu.org; Wed, 09 May 2007 11:58:20 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HloYP-0003XE-Fm for qemu-devel@nongnu.org; Wed, 09 May 2007 17:58:13 +0200 Received: from c-76-103-81-97.hsd1.ca.comcast.net ([76.103.81.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2007 17:58:13 +0200 Received: from blp by c-76-103-81-97.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 May 2007 17:58:13 +0200 From: Ben Pfaff Date: Wed, 09 May 2007 08:58:15 -0700 Message-ID: <87hcqmhtuw.fsf@blp.benpfaff.org> References: <200705090851.l498pIUN022707@imap.tools.intra> <1178718616.6235.60.camel@w4skkosy0000147> <20070509140418.GC29921@networkno.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: news Subject: [Qemu-devel] Re: [PATCH] configure Reply-To: blp@cs.stanford.edu, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Thiemo Seufer writes: > Joachim Henke wrote: >> On Wed, 2007-05-09 at 10:51 +0200, Juergen Keil wrote: >> > Isn't the use of "which" wrong, anyway? >> > >> > "which" belongs to csh/tcsh, and tells you about csh's/tcsh's idea >> > about a command or a csh command alias. >> > >> > IMO, for a /bin/sh (or bash) script, using the "type" command would >> > be a better idea. >> >> Yes, 'which' is not reliable. > > "type" appears to be bash-specific, at least according to the bash > documentation, so I stuck with "which" for now. You could use "command -v" from SUSv3. -- Ben Pfaff http://benpfaff.org