qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jeff Chua" <jeff.chua.linux@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] configure
Date: Wed, 9 May 2007 22:55:27 +0800	[thread overview]
Message-ID: <b6a2187b0705090755r52c5d67m4585836478984675@mail.gmail.com> (raw)
In-Reply-To: <jebqgumj22.fsf@sykes.suse.de>

On 5/9/07, Andreas Schwab <schwab@suse.de> wrote:
> "Jeff Chua" <jeff.chua.linux@gmail.com> writes:

> > "which" returns the first path, "type" returns all paths.
>
> You want "type -p".

# type awk
awk is /bin/awk
awk is /usr/bin/awk
# type -p awk
/bin/awk
/usr/bin/awk
# type foo
-bash: type: foo: not found
# type -p foo
#

Interesting. "type -p foo" does the same as "type foo 2>/dev/null",
but only if "foo" is not found. Tried that on "awk" above, and it
prints the paths.

Thanks,
Jeff.

  reply	other threads:[~2007-05-09 15:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  8:51 [Qemu-devel] [PATCH] configure Juergen Keil
2007-05-09  9:18 ` Jeff Chua
2007-05-09  9:40   ` Andreas Schwab
2007-05-09 14:55     ` Jeff Chua [this message]
2007-05-09 17:10       ` Andreas Schwab
2007-05-09 13:50 ` Joachim Henke
2007-05-09 14:04   ` Thiemo Seufer
2007-05-09 15:58     ` [Qemu-devel] " Ben Pfaff
  -- strict thread matches above, loose matches on Subject: below --
2007-05-09  3:39 [Qemu-devel] " Ben Taylor
2007-05-08 15:43 Jeff Chua
2007-05-08 21:00 ` Thiemo Seufer
2007-05-09  0:18   ` Jeff Chua
2007-05-09  0:41     ` Thiemo Seufer
2007-05-09  3:22       ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6a2187b0705090755r52c5d67m4585836478984675@mail.gmail.com \
    --to=jeff.chua.linux@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).