Plan 9 from Bell Labs’s /usr/web/sources/contrib/de0u/root/sys/src/cmd/divergefs/doc/config

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



Format:
------------------------------------------------------------------------------

simple_rule = rule<setting>
complex_rule = 
  simple_rule (("||" | "&&") complex_rule)?


each line in the config file consists of the following:

path complex_rule


path is either an absolute path or a path relative to the cwd in which the
filesystem command is executed.

setting is dependant on the rule being used.


Rules:
------------------------------------------------------------------------------
all<>
  Matches anything. Note: the setting field must be empty.

mode<setting>
  setting = 'A' | 'L' | 'f' | 'd' | 'r' | 'w' | 'x' | 'e'
  Matches file with the given mode.  Each mode can only have one character in
  the setting field.  Please refer to for test(1) details on the meaning of each
  character.

ext<setting>
  setting = file extension

fregex<setting>
  setting = regular expression, refer to regexp(2) for details.
  matches any file name that satisfies the regular expression given.

dregex<setting>
  setting = regular expression, refer to regexp(2) for details.
  matches any directory name that satisfies the regular expression given.

regex<setting>
  setting = regular expression, refer to regexp(2) for details.
  matches any name that satisfies the regular expression given.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].