projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4604dd8
)
find: document ! (not) operator
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 12 Feb 2011 17:49:48 +0000
(18:49 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 12 Feb 2011 17:49:48 +0000
(18:49 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/find.c
patch
|
blob
|
history
diff --git
a/findutils/find.c
b/findutils/find.c
index 0ec88fd619c5fbaa11497268fe9f602a3fe3e9e4..d49adc26de4b5a778cd7c46ddace0a38b0fb64bc 100644
(file)
--- a/
findutils/find.c
+++ b/
findutils/find.c
@@
-1067,6
+1067,9
@@
static action*** parse_params(char **argv)
//usage: IF_FEATURE_FIND_PAREN(
//usage: "\n ( ACTIONS ) Group actions for -o / -a"
//usage: )
+//usage: IF_FEATURE_FIND_NOT(
+//usage: "\n ! ACT Invert ACT's success/failure"
+//usage: )
//usage: "\n ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2"
//usage: "\n ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2"
//usage: "\n Note: -a has higher priority than -o"