diff options
author | Manoj Srivastava <srivasta@debian.org> | 2009-05-01 10:27:02 -0500 |
---|---|---|
committer | Clint Adams <schizo@debian.org> | 2009-05-01 17:56:12 -0400 |
commit | 963bd280d209676bbdbe8caf6e88d50163311f26 (patch) | |
tree | 236af706f3ea376516e583c8b3357fb88d3f8339 | |
parent | db99be66dc53be8ec0162eb204140d99253d1190 (diff) | |
download | debianutils-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.1 | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |