From 27076b823357a650b3df8e166faab471111d9160 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 12 Feb 2011 18:49:48 +0100 Subject: [PATCH] find: document ! (not) operator Signed-off-by: Denys Vlasenko --- findutils/find.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/findutils/find.c b/findutils/find.c index 0ec88fd61..d49adc26d 100644 --- 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"