"which -s" will return 0 only if all executables were found, not "any".
This commit is contained in:
parent
05020e0446
commit
26376028e8
@ -29,7 +29,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 21, 2002
|
||||
.Dd December 13, 2006
|
||||
.Dt WHICH 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -52,7 +52,7 @@ The following options are available:
|
||||
List all instances of executables found (instead of just the first one
|
||||
of each).
|
||||
.It Fl s
|
||||
No output, just return 0 if any of the executables are found, or 1 if
|
||||
No output, just return 0 if all of the executables are found, or 1 if
|
||||
none are found.
|
||||
.El
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user