[Top][All Lists]
[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
- Re: [Qemu-devel] configure, (continued)
Re: [Qemu-devel] [PATCH] configure, Ben Taylor, 2007/05/08
Re: [Qemu-devel] [PATCH] configure, Juergen Keil, 2007/05/09
Re: [Qemu-devel] [PATCH] configure, Joachim Henke, 2007/05/09