qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] configure


From: Ben Pfaff
Subject: [Qemu-devel] Re: [PATCH] configure
Date: Wed, 09 May 2007 08:58:15 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Thiemo Seufer <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]