]> git.ipfire.org Git - thirdparty/util-linux.git/commit
whereis: search in path
authorDavidlohr Bueso <dave@gnu.org>
Fri, 12 Aug 2011 17:55:42 +0000 (13:55 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Aug 2011 09:16:43 +0000 (11:16 +0200)
commitf51be85982c0e926bc3b161fd742855194713d4d
treed58d6953269dc791c0032f2d3751bcfbff352270
parent41fc17521d5c2765701762697c9b79bbfee513bc
whereis: search in path

Currently this tool only uses the hardcoded paths for looking up strings for
binaries, man pages and source code.  Adding directories found in $PATH makes a
nice little enhancement to support a wider range of lookups.

This feature was also discussed previously here
(http://www.spinics.net/lists/util-linux-ng/msg03429.html)

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
misc-utils/whereis.c