home *** CD-ROM | disk | FTP | other *** search
- MFind - a wildcard using, recursive, FIND utility
-
- v1.2 - by Greg Browne 3/17/90 - written in Modula-2 {TDI 3.01a}
-
- USAGE: MFind <filename> [path] [+hsparwed] [-hsparwed]
- | | | |
- required +----optional--------+ <-options in any order
-
- Display all occurrances of <filename>
- [path] = path to search / no path = current dir
- [+-bits] = search for all matching pattern AND flag bits.
- + means set - means clear [HSPARWED]
- one + group and/or one - group allowed
- i.e.
- MFind #? -a (list modified files [Archive bit clear])
- MFind #? dh0: +d (list all delete protected files on dh0:)
- MFind #?inv#? -s (find all scripts with "inv" in the name)
-
- MUST have ARP.LIBRARY
-
- Recursive search of all lower trees, accepts all ARP wildcards
-
- The 'filename' is not optional, and may NOT contain a PATH, but may contain
- wildcards. It MUST be the first argument.
-
- The 'path' is optional and if present specifies the base path to begin the
- search. If not specified, the current CLI directory is the base.
-
- The '+bits' and '-bits' items are also optional, and if present, a file must
- match ALL indicated bits AS WELL AS THE PATTERN to be selected. Only one
- group of + and/or one group of - bits may be given. So, to test for all
- delete protected programs which have been modified and are NOT scripts,
- you could use +d -as (note the grouping of 'a' and 's').
-
- The options may appear in any order AFTER the match pattern.
-
- This allows both #? and * wildcards to be used OR exact match searching.
- It is NOT case sensitive, however, so "MFind" "mFiND" and "MFIND" are all
- viewed as the same. This requires the Arp.library to be accessible. If
- you don't have it in the libs: directory, you should.
-
- Ctrl-C (^C) is active. Output (normally screen) is redirectible with >
-
- (Thanks Joergen Thompsen (sp?) for your suggestion about the bits).
-