which: Allow which("ps aux"), which skips any arguments to command

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-03 12:48:02 +02:00
1 parent 10e4a1d057
commit 2c875afe06
2 files changed
+27 -2

No files matched your search

+3
View File
@@ -295,6 +295,9 @@ Generic Functions
`whichp()` is a predicate function, returns `TRUE` or `FALSE`.
**Note:** `which("/bin/ps aux")` will return `/bin/ps`, or `TRUE`,
provided of course `/bin/ps` exists.
GNU Functions
-------------