X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=doc%2Fpatplex.doc;h=dff248bb717dc002a3f69db436a12438dd86e636;hb=518c678c21a99f4b148f3cb1f40afe8b51577082;hp=f567d56f715c9f112e20af6eefa88967faf8068c;hpb=8cc893f5a55ad27a6971524b41e99589576eade5;p=ashd.git diff --git a/doc/patplex.doc b/doc/patplex.doc index f567d56..dff248b 100644 --- a/doc/patplex.doc +++ b/doc/patplex.doc @@ -37,10 +37,13 @@ In addition to the 'CONFIGFILE' specified on the command-line, *patplex* also attempts to find and read a global configuration file called `patplex.rc`, unless the *-N* option is given. It looks in all directories named by the *PATH* environment variable, appended with -`../etc`. For example, then, if *PATH* is -`/usr/local/bin:/bin:/usr/bin`, the directories `/usr/local/etc`, -`/etc` and `/usr/etc` are searched for `patplex.rc`, in that -order. Only the first file found is used, should there exist several. +`../etc/ashd`. For example, then, if *PATH* is +`/usr/local/bin:/bin:/usr/bin`, the directories `/usr/local/etc/ashd`, +`/etc/ashd` and `/usr/etc/ashd` are searched for `patplex.rc`, in that +order. Only the first file found is used, should there exist +several. If the given 'CONFIGFILE' contains any slashes, it is opened +by that exact name. Otherwise, it is searched for in the same manner +as the global configuration file. Should the global and the given configuration files conflict, the directives from the given file take precedence. @@ -93,7 +96,7 @@ rules are recognized: rule has matched. In addition to the rules, a *match* stanza must contain exactly one -follow-up line specifying the action to take if it mathces. Currently, +follow-up line specifying the action to take if it matches. Currently, only the *handler* action is recognized: *handler* 'HANDLER':: @@ -113,7 +116,7 @@ optional lines: *xset* 'HEADER' 'VALUE':: - *xset* does exactly the same thing as *set*, except the + *xset* does exactly the same thing as *set*, except that 'HEADER' is automatically prepended with the `X-Ash-` prefix. The intention is only to make configuration files look nicer in this very common case.