[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:43:13 UTC 2018


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

Mateusz Piotrowski <0mp at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |0mp at FreeBSD.org

--- Comment #1 from Mateusz Piotrowski <0mp at FreeBSD.org> ---
(In reply to Bjoern A. Zeeb from comment #0)

It is not which(1) that is not working as specified in the manual. It looks
like your are using tcsh/csh, which seems to not implement those "-a" and "-s"
flags. Here's a fragment of the tcsh(1) manual:

> which command (+)
>               Displays the command that will be executed by the shell after
>               substitutions, path searching, etc.  The builtin command is
>               just like which(1), but it correctly reports tcsh aliases and
>               builtins and is 10 to 100 times faster.  See also the which-
>               command editor command.

It looks like everything works as intended.

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


More information about the freebsd-bugs mailing list