Add a unary -not operator ala -false and !, for sake of completeness.
Obtained from: OpenDarwin MFC after: 1 week
This commit is contained in:
parent
49b2349b41
commit
4a0193d39e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102083
@ -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.
|
||||
|
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user