home *** CD-ROM | disk | FTP | other *** search
- FIND.EXE Mini-Manual
-
-
- Purpose:
-
- FIND scans the domain.txt file in the root directory of
- the current drive for a string. It can be used to locate
- the IP address associated with a given host name, or vice
- versa.
-
-
- Environment:
-
- FIND is written in Microsoft Quick Pascal for the MS-DOS
- environment. The source is included in the file.
-
- Usage:
-
- Execute FIND after shelling out to DOS. You may enter either
- of the following forms of the command:
-
- find abcde
-
- where abcde is the search string, or simply
-
- find
-
- The first form causes the program to search domain.txt for
- all occurrences of the single search string appearing on
- the command line. The search is NOT case-sensitive; that
- is, the command
-
- find joe
-
- will locate occurrences of the string "Joe" as well as "JOE"
- and "joe", etc. Blanks within the search string are
- not allowed.
-
- All occurrences of the string are located and listed (see
- below.) The program lists a screen at a time, waiting for
- the ENTER key to be pressed before continuing to the next screen.
-
- If a search string on the command line is used, the program will
- terminate after the last end-of-screen keypress.
-
- If you enter only "find" on the command line, the program
- prompts for the search string and asks if you wish to
- search for another string after printing the last screen
- from the first search. [Answer "y" or "n" without
- quotation marks.] Otherwise, this form of the command
- operates identically to the above.
- Output:
-
- The program always displays the line on which the search string
- is found.
-
- If this line begins with a "#" character, it also prints every
- line to (but not including) the next line beginning with a "#".
- With a domain.txt file formatted like that used in this area,
- this will result in the line containing the operator's name
- and the hostname/address information to be printed.
-
- If the line does NOT begin with a "#" character, the preceding
- line and all following up to (but not including) the next line
- starting with "#" will be displayed. For our domain.txt format,
- this USUALLY results in the same display as the above. (The
- exception occurs when the string is found in an alias and not
- in the original hostname/address line. In this case, the line
- containing the operator's name may be left off.)
-
- This program is being distributed without charge in the spirit of sharing
- that sets our hobby apart. Please feel free to distribute and enjoy.
- Address any questions, comments, brickbats, etc., to ka6buv.ampr.org /
- 44.56.4.89. (Al Williams, Concord, MA.)
-
-
-
-
-
-
-