[Bug 223522] `whatis .’ returns random results

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 8 10:47:53 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223522

            Bug ID: 223522
           Summary: `whatis .’ returns random results
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: wosch at FreeBSD.org

Running whatis for the single character “a” works fine:

$ whatis a
a.out(5) - format of executable binary files

But running whatis with a single dot returns random results. It includes
“a.out”, but many manpages which don’t have a ‘.’ in the name

$ whatis  . | head -8
whatis .|head -8
c++filt(1) - decode C++ symbols
w(1) - display who is logged in and what they are doing
config.guess-2.69(1) - guess the build system triplet
config.sub-2.69(1) - validate and canonicalize a configuration triplet
ifnames-2.69(1) - Extract CPP conditionals from a set of files
a.out(5) - format of executable binary files
rtld, ld-elf.so.1, ld.so(1) - run-time link-editor
gittutorial-2(7) - A tutorial introduction to Git: part two

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list