summaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-08-19 02:27:33 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-08-19 02:27:33 +0000
commit4a0193d39e1d7c37c38c26a209497cde74c35bcd (patch)
tree7c81455c7ab53b1bffe107d981285d56731b7583 /usr.bin/find
parent49b2349b419c74d18cb2b17824511efcfe6621af (diff)
downloadsrc-test2-4a0193d39e1d7c37c38c26a209497cde74c35bcd.tar.gz
src-test2-4a0193d39e1d7c37c38c26a209497cde74c35bcd.zip
Notes
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.11
-rw-r--r--usr.bin/find/option.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 15eb203d0594..ee8f0ded295f 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -695,6 +695,7 @@ true.
.Pp
.It Cm \&! Ar expression
.It Cm -false Ar expression
+.It Cm -not Ar expression
This is the unary
.Tn NOT
operator.
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index f0af4c68b0ec..657d975a7606 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -112,6 +112,7 @@ static OPTION const options[] = {
{ "-newermt", c_newer, f_newer, F_TIME2_T },
{ "-nogroup", c_nogroup, f_nogroup, 0 },
{ "-nouser", c_nouser, f_nouser, 0 },
+ { "-not", c_simple, f_not, 0 },
{ "-o", c_simple, f_or, 0 },
{ "-ok", c_exec, f_exec, F_NEEDOK },
{ "-okdir", c_exec, f_exec, F_NEEDOK | F_EXECDIR },