summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2009-05-01 10:27:02 -0500
committerClint Adams <schizo@debian.org>2009-05-01 17:56:12 -0400
commit963bd280d209676bbdbe8caf6e88d50163311f26 (patch)
tree236af706f3ea376516e583c8b3357fb88d3f8339
parentdb99be66dc53be8ec0162eb204140d99253d1190 (diff)
downloaddebianutils-963bd280d209676bbdbe8caf6e88d50163311f26.tar.gz
Clarify that which does not follow symlinks
This was a cause of some confusion. Signed-Off-By: Manoj Srivastava <srivasta@debian.org> Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-rw-r--r--which.19
1 files changed, 5 insertions, 4 deletions
diff --git a/which.1 b/which.1
index 1199984..f6f3234 100644
--- a/which.1
+++ b/which.1
@@ -6,10 +6,11 @@ which \- locate a command
which [\-a] filename ...
.SH DESCRIPTION
.B which
-returns the pathnames of the files which would be executed in the current
-environment, had its arguments been given as commands in a strictly
-POSIX-conformant shell. It does this by searching the PATH for executable
-files matching the names of the arguments.
+returns the pathnames of the files (or links) which would be executed
+in the current environment, had its arguments been given as commands
+in a strictly POSIX-conformant shell. It does this by searching the
+PATH for executable files matching the names of the arguments. It does
+not follow symbolic links.
.SH OPTIONS
.TP
.B \-a