public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH 0/7] pull: whereis changes
Date: Sat, 16 Mar 2013 23:40:12 +0000	[thread overview]
Message-ID: <1363477219-29245-1-git-send-email-kerolasa@iki.fi> (raw)

Hi Karel, and all,

Here are the results of the whereis(1) work which I mentioned earlier the
week in irc.  All of the patches are related to that command, and as you
can see from the diff stats a lot has changed.

The first patch is quite big.  Unfortunately I ran out of imagination how
to make it smaller, as the patch is the core change enabling rest of the
work.  Most what the 0001 has got going is with search directory list
building using new data structure.

In between patches are quite straight forward till second last which will
canonicalize output file names.  I think that is what users are
interested, but I a may be wrong as well.  Comments, anyone?

The last patch is a bug fix to RedHat item.  See commit message for
further details.

One funky side note.  After the changes the whereis seems to run about
20% quicker.  That was unintentional enhancement.


The following changes since commit 2029dbd9b168319d8a4717c1523e4facb5cff9cc:

  docs: update year (2013-03-15 15:18:22 +0100)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git whereis

for you to fetch changes up to 41f50bc7efcda1acc179c159ccc04e91e1ed5965:

  whereis: remove duplicates from search results (2013-03-16 23:22:02 +0000)

----------------------------------------------------------------
Sami Kerola (7):
      whereis: rewrite most of the command
      whereis: add search scope listing option
      whereis: align with howto-usage-function.txt
      whereis: support MANPATH environment variable
      docs: generic whereis.1 clean up
      whereis: canonicalize files before printing
      whereis: remove duplicates from search results

 misc-utils/Makemodule.am |   1 +
 misc-utils/whereis.1     |  93 ++++----
 misc-utils/whereis.c     | 555 ++++++++++++++++++++++++++---------------------
 3 files changed, 350 insertions(+), 299 deletions(-)

             reply	other threads:[~2013-03-16 23:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 23:40 Sami Kerola [this message]
2013-03-16 23:40 ` [PATCH 1/7] whereis: rewrite most of the command Sami Kerola
2013-03-16 23:40 ` [PATCH 2/7] whereis: add search scope listing option Sami Kerola
2013-03-16 23:40 ` [PATCH 3/7] whereis: align with howto-usage-function.txt Sami Kerola
2013-03-16 23:40 ` [PATCH 4/7] whereis: support MANPATH environment variable Sami Kerola
2013-03-16 23:40 ` [PATCH 5/7] docs: generic whereis.1 clean up Sami Kerola
2013-03-16 23:40 ` [PATCH 6/7] whereis: canonicalize files before printing Sami Kerola
2013-03-20 12:56   ` Karel Zak
2013-03-20 14:03     ` Sami Kerola
2013-03-16 23:40 ` [PATCH 7/7] whereis: remove duplicates from search results Sami Kerola
2013-03-20 12:59   ` Karel Zak
2013-03-17  9:23 ` [PATCH 0/7] pull: whereis changes Sami Kerola
2013-03-20 13:02 ` Karel Zak

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=1363477219-29245-1-git-send-email-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.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