about summary refs log tree commit diff
path: root/lr.1
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-27 21:20:01 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-27 21:20:01 +0100
commitd39c189b87ac60f8c16c1f71c74f1185f1672a6b (patch)
tree57cc75a9434c0f3a0f86131aac1a9346878ebf2f /lr.1
parent87e610e70e6252f45fb2b5c9f4f11f9c49eddf79 (diff)
downloadlr-d39c189b87ac60f8c16c1f71c74f1185f1672a6b.tar.gz
lr-d39c189b87ac60f8c16c1f71c74f1185f1672a6b.tar.xz
lr-d39c189b87ac60f8c16c1f71c74f1185f1672a6b.zip
implement matching against chmod-style symbolic modes
Diffstat (limited to 'lr.1')
-rw-r--r--lr.15
1 files changed, 5 insertions, 0 deletions
diff --git a/lr.1 b/lr.1
index 6aa9817..9f88a98 100644
--- a/lr.1
+++ b/lr.1
@@ -285,8 +285,13 @@ tests are given by the following EBNF:
                     | &          -- check if all bits of <octal> set
                     | |          -- check if any bit of <octal> set
                     ) <octal>
+             | mode = "<chmod>"  -- check if symbolic mode is satisfied
 
 <octal> ::= [0-7]+
+
+<chmod> ::= <clause> (, <clause>)+
+
+<clause> ::= [guoa]* [+-=] [rwxXstugo]*  -- see chmod(1)
 .Ed
 .Sh EXIT STATUS
 .Ex -std