[Bug 228566] which fails to handle -a or -s as documented in manpage
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 28 15:37:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228566
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 at FreeBSD.org
Reporter: bz at 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?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list