home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug002.arc
/
FIND.HLP
< prev
next >
Wrap
Text File
|
1979-12-31
|
1KB
|
36 lines
: -----FIND.COM-----
by Ward Christensen
OVERVIEW:
Finds ASCII, upper/lower case strings in requested file(s).
May take a generic file name, thus may search all .ASM files on a
disk. Also very useful for finding things in MAST.CAT, for example
if you have multiple VDM routines: VDMSCROL.ASM, PRINTVDM.ASM, etc,
you could FIND MAST.CAT VDM to see them all.
USAGE:
find b:*.asm alpha
will find all occurrences of ALPHA in all .ASM files on B:.
OPTIONS:
ASCII underline "_" will match a TAB in the search object,
while "|" will define an OR function.
FIND B:*.ASM _IN_|_OUT_
will find all occurrences of <TAB>IN<TAB>, or <TAB>OUT<TAB> on B:.
Used with LIST.COM which takes a starting line number,
you can: 1) use FIND to find a particular part of the code,
then 2) use LIST specifying a starting line number just before
the part of the code you wanted to see.
DEPENDENCIES:
Note that FIND is a quickie program - it gets the label
to search for from the second FCB so you can't put some
special characters in the ASCII string. I.E.
find b:*.asm in.to
would find IN (since .to would be put as the filetype).