[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure
From: |
Andreas Schwab |
Subject: |
Re: [Qemu-devel] [PATCH] configure |
Date: |
Wed, 09 May 2007 11:40:21 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
"Jeff Chua" <address@hidden> writes:
> On 5/9/07, Juergen Keil <address@hidden> 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.
>
> "which" returns the first path, "type" returns all paths.
You want "type -p".
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: [Qemu-devel] [PATCH] configure, Joachim Henke, 2007/05/09