home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff274.lzh
/
LookFor
/
readme
< prev
next >
Wrap
Text File
|
1989-11-16
|
3KB
|
63 lines
LookFor by Mark Schretlen 88-12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LookFor is a general "find that file" utility which is handy for hard
drives, multiple drives, and multi-layered paths.
usage: LookFor [ANY] <filename> [ON] [drive(s)|ALL]
Invoke from the CLI only.
keywords: (optional)
ANY looks for the pattern anywhere within the filename (unachored).
ON must be specified for a multi-drive search (separate drives with commas).
ON ALL looks for the file on all drives.
patterns: (filename only)
? any single character ( LookFor ? gives help message)
* any number of characters
ctrl-c aborts LookFor cleanly
Examples:
Command Line ----------> finds these files:
LookFor abc ----------> abc ... in the current dir
& its subdirectories
LookFor any .c ----------> abc.c xyz.c my.cli ... in the current dir
& its subdirectories
LookFor *.c ----------> abc.c xyz.c ... in the current dir
& its subdirectories
LookFor ?.c ----------> a.c x.c ... in the current dir
& its subdirectories
LookFor ?.* ----------> a.cpr f.out ... in the current dir
& its subdirectories
LookFor .* ----------> .edrc .profile ... in the current dir
& its subdirectories
LookFor * ----------> ALL FILES ... in the current dir
& its subdirectories
LookFor abc on df1: ------> abc ... on df1:
LookFor abc on df1:,ram: -> abc ... on df1: & ram:
LookFor any abc df1: -----> abc xyzabcz abcxyz ... on df1:
LookFor any abc on all ---> abc xyzabcz abcxyz ... on ram:,vdk:,df0: etc
LookFor any abc ----------> xyzabc abc zabcefg ... in the current dir
& its subdirectories
LookFor is a public domain program. Please distribute freely.
Revisions on the 88-12 version:
- due to popular demand, more restrictive and simpler pattern matching.
- 1.3 compatible ....
* the code is now pure and re-entrant so it can be made resident.
* FastFileSystem supported.
* recognizes Rad: (always has).
- CTRL-c aborts cleanly with no memory loss.
- spelling corrected on help messages :-)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schretlen
Jan 7, 1989
(403)289-8134
GEnie: M.SCHRETLEN