Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 15:37:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228566] which fails to handle -a or -s as documented in manpage
Message-ID:  <bug-228566-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228566

            Bug ID: 228566
           Summary: which fails to handle -a or -s as documented in
                    manpage
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: bz@FreeBSD.org

which(1) documents a -a and a -s option yet:

% which -a which
-a: Command not found.
which: shell built-in command.

% which -s which
-s: Command not found.
which: shell built-in command.

% which -a true
-a: Command not found.
/usr/bin/true

% which -s true
-s: Command not found.
/usr/bin/true


Seems this has been broken/unsupported in a long time.  Can someone either =
fix
the code or the man page?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228566-227>