archie/release/base/help/english/set/match_path/=
2024-05-28 17:59:32 +02:00

23 lines
851 B
Plaintext

The 'match_path' string variable allows you to restrict your search based
on pathname components. For example, if you are only looking for DOS PC
programs and think that site administrators may have put such files in
directories with names like "PC", "DOS" or "IBM" then you could set the
match_path variable as:
set match_path PC:DOS:IBM
All files returned must have one or more of these components in its
pathname (the list of directories leading to the file or directory).
The general syntax is:
set match_path <component>[[':'<component>]...]
Note that the component names are always matched on a case-insensitive
basis. Also, there is an implicit logical OR between components: in the
example above the system matches it as "PC or DOS or IBM" so that if any
one of the components match, then the condition is satisfied.