No description
Find a file
2025-05-25 11:04:31 +00:00
.forgejo Added CI workflows 2025-05-25 14:04:17 +03:00
cwm4 Updated: 2.23 2025-05-25 11:04:31 +00:00
m4 Updated: 2.23 2025-05-25 11:04:31 +00:00
aclocal.m4 Updated: 2.23 2025-05-25 11:04:31 +00:00
AUTHORS Updated: 2.23 2025-05-25 11:04:31 +00:00
bash.c Updated: 2.23 2025-05-25 11:04:31 +00:00
bash.h Updated: 2.23 2025-05-25 11:04:31 +00:00
compile Updated: 2.23 2025-05-25 11:04:31 +00:00
config.guess Updated: 2.23 2025-05-25 11:04:31 +00:00
config.h.in Updated: 2.23 2025-05-25 11:04:31 +00:00
config.sub Updated: 2.23 2025-05-25 11:04:31 +00:00
configure Updated: 2.23 2025-05-25 11:04:31 +00:00
configure.ac Updated: 2.23 2025-05-25 11:04:31 +00:00
COPYING Updated: 2.23 2025-05-25 11:04:31 +00:00
depcomp Updated: 2.23 2025-05-25 11:04:31 +00:00
EXAMPLES Updated: 2.23 2025-05-25 11:04:31 +00:00
getopt.c Updated: 2.23 2025-05-25 11:04:31 +00:00
getopt.h Updated: 2.23 2025-05-25 11:04:31 +00:00
getopt1.c Updated: 2.23 2025-05-25 11:04:31 +00:00
INSTALL Updated: 2.23 2025-05-25 11:04:31 +00:00
install-sh Updated: 2.23 2025-05-25 11:04:31 +00:00
maintMakefile.in Updated: 2.23 2025-05-25 11:04:31 +00:00
Makefile.am Updated: 2.23 2025-05-25 11:04:31 +00:00
Makefile.in Updated: 2.23 2025-05-25 11:04:31 +00:00
mdate-sh Updated: 2.23 2025-05-25 11:04:31 +00:00
missing Updated: 2.23 2025-05-25 11:04:31 +00:00
NEWS Updated: 2.23 2025-05-25 11:04:31 +00:00
posixstat.h Updated: 2.23 2025-05-25 11:04:31 +00:00
README Updated: 2.23 2025-05-25 11:04:31 +00:00
README.alias Updated: 2.23 2025-05-25 11:04:31 +00:00
README.md Updated: 2.23 2025-05-25 11:04:31 +00:00
stamp-vti Updated: 2.23 2025-05-25 11:04:31 +00:00
sys.h Updated: 2.23 2025-05-25 11:04:31 +00:00
tilde.c Updated: 2.23 2025-05-25 11:04:31 +00:00
tilde.h Updated: 2.23 2025-05-25 11:04:31 +00:00
version.texi Updated: 2.23 2025-05-25 11:04:31 +00:00
which.1 Updated: 2.23 2025-05-25 11:04:31 +00:00
which.c Updated: 2.23 2025-05-25 11:04:31 +00:00
which.info Updated: 2.23 2025-05-25 11:04:31 +00:00
which.texi Updated: 2.23 2025-05-25 11:04:31 +00:00

Install

For official release sources you will need an ANSI C compiler (like gcc) to compile this package.

Just type make, followed by make install. See INSTALL for more details.

For git clones you will need to follow some basic maintainer instructions at the bottom for first time compiles.

History

The main difference with version 1.0 by Paul Vixie is that this version will not return directory names as being executables and that by default it will expand a leading "./" and "~/" to its full path on output.

The -all option has been added in example of a version of which on Ultrix. They use `-a' as option.

The --read-alias idea has been copied from a version of which by Maarten Litmaath called which-v6', he was using -i' as option which stands for `interactive'.

Manual page

See the man page for more details.

Maintainer Instructions

If you are not using the release sources but are using the git sources directly there are a couple extra steps to compile.

Make sure you have all the git submodules installed by running git submodule update --init --recursive in the root of the project.

Next run ./autogen.sh in the which root to generate the install scripts.

You must run configure with --enable-maintainer-mode the first time in order to generate the man file when you first run make, otherwise make will not succeed.