From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/which
Date: Wed, 23 Jul 2008 14:14:12 +1000 [thread overview]
Message-ID: <20080723041412.GA16743@cloud.net.au> (raw)
In-Reply-To: <1216785448.15083.3.camel@berrier.lan>
On Tue, Jul 22, 2008 at 09:57:28PM -0600, Wade Berrier wrote:
> On Wed, 2008-07-23 at 10:50 +1000, Hamish Moffatt wrote:
> > On Tue, Jul 22, 2008 at 06:59:36AM -0700, jacmet at uclibc.org wrote:
> > > Author: jacmet
> > > Date: 2008-07-22 06:59:35 -0700 (Tue, 22 Jul 2008)
> > > New Revision: 22913
> > >
> > > Log:
> > > which: needs readline
> >
> > What does this package do that busybox's which doesn't?
>
> berrier:/home/wberrier # which --help
> Usage: which [options] [--] programname [...]
> Options: --version, -[vV] Print version and exit successfully.
> --help, Print this help and exit successfully.
> --skip-dot Skip directories in PATH that start with a
> dot.
> --skip-tilde Skip directories in PATH that start with a
> tilde.
> --show-dot Don't expand a dot to current directory in
> output.
> --show-tilde Output a tilde for HOME directory for
> non-root.
> --tty-only Stop processing options on the right if not on
> tty.
> --all, -a Print all matches in PATH, not just the first
> --read-alias, -i Read list of aliases from stdin.
> --skip-alias Ignore option --read-alias; don't read stdin.
> --read-functions Read shell functions from stdin.
> --skip-functions Ignore option --read-functions; don't read
> stdin.
Wow. busybox's version doesn't have any of that, and neither does zsh's.
debian's debianutils version only has -a.
Very fancy. I can't imagine ever wanting most of those features - which
is meant to show you which command is being run, to skipping aliases and
parts of your $PATH doesn't seem very useful.
Anyway, thanks for the info.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
next prev parent reply other threads:[~2008-07-23 4:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 13:59 [Buildroot] svn commit: trunk/buildroot/package/which jacmet at uclibc.org
2008-07-23 0:50 ` Hamish Moffatt
2008-07-23 3:57 ` Wade Berrier
2008-07-23 4:14 ` Hamish Moffatt [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 19:54 wberrier at uclibc.org
2008-07-22 14:11 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-03-06 18:29 ninevoltz at uclibc.org
2008-03-06 21:44 ` Peter Korsgaard
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=20080723041412.GA16743@cloud.net.au \
--to=hamish@cloud.net.au \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.