home *** CD-ROM | disk | FTP | other *** search
- SAMPLE command and resulting output | Comments about the output
-
- FIND/N "seven years ago" GETTYS.ADR This example searches for the string
- 'seven years ago' in a file called
- ---------- GETTYS.ADR GETTYS.ADR and displays the line (or
- [1]Four score and seven years ago, our lines with the relative line numbers
- that contain the string.
-
- FIND/V "seven years ago" GETTYS.ADR Now we are searching for all lines
- that do not contain the string. This
- ---------- GETTYS.ADR time we're not displaying the relative
- Fathers brought forth on this line numbers.
- continent a new nation, conceived in
- liberty and dedicated to the You may search more than one file
- proposition that all men are created with FIND. Just specify them after
- equal. the first one.
-
- FIND/V/C "seven years ago" GETTYS.ADR This example counts the number of
- lines in the file GETTYS.ADR that do
- ---------- GETTYS.ADR: 5 not contain the string 'seven years
- ago'.
-
- DIR C:\ | FIND "BAS" This example would give a directory
- listing of only the basic programs in
- TUTOR BAS 2028 12-13-88 3:21p the root directory of C:.
- PAL BAS 1228 2-04-89 8:32a
-
- FIND """seven""" GETTYS.ADR This example searches for the string
- '"seven"' in the file GETTYS.ADR (To
- search for the character ", enter it
- twice in the string being searched.)
-
- FIND """" GETTYS.ADR This example searches for the single
- character " (double quote).