home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / packet / findx / fmanual.doc < prev   
Text File  |  1990-11-22  |  3KB  |  81 lines

  1.                        FIND.EXE Mini-Manual
  2.  
  3.  
  4. Purpose:
  5.  
  6.           FIND scans the domain.txt file in the root directory of
  7.           the current drive for a string.  It can be used to locate
  8.           the IP address associated with a given host name, or vice
  9.           versa.
  10.  
  11.  
  12. Environment:        
  13.  
  14.       FIND is written in Microsoft Quick Pascal for the MS-DOS
  15.           environment.  The source is included in the file.
  16.  
  17. Usage:
  18.  
  19.           Execute FIND after shelling out to DOS.  You may enter either
  20.           of the following forms of the command:
  21.  
  22.                find abcde
  23.  
  24.       where abcde is the search string, or simply
  25.  
  26.                find
  27.  
  28.           The first form causes the program to search domain.txt for 
  29.           all occurrences of the single search string appearing on
  30.           the command line.  The search is NOT case-sensitive; that
  31.           is,  the command
  32.  
  33.                find joe
  34.  
  35.           will locate occurrences of the string "Joe" as well as "JOE"
  36.           and "joe", etc.  Blanks within the search string are
  37.           not allowed.
  38.  
  39.           All occurrences of the string are located and listed (see
  40.           below.)  The program lists a screen at a time, waiting for
  41.           the ENTER key to be pressed before continuing to the next screen.
  42.  
  43.           If a search string on the command line is used, the program will
  44.           terminate after the last end-of-screen keypress.
  45.  
  46.           If you enter only "find" on the command line, the program
  47.           prompts for the search string and asks if you wish to
  48.           search for another string after printing the last screen
  49.           from the first search.  [Answer "y" or "n" without 
  50.           quotation marks.]  Otherwise, this form of the command
  51.           operates identically to the above.
  52. Output:
  53.  
  54.           The program always displays the line on which the search string
  55.           is found.
  56.  
  57.           If this line begins with a "#" character, it also prints every
  58.           line to (but not including) the next line beginning with a "#".
  59.           With a domain.txt file formatted like that used in this area,
  60.           this will result in the line containing the operator's name
  61.           and the hostname/address information to be printed.
  62.  
  63.           If the line does NOT begin with a "#" character, the preceding
  64.           line and all following up to (but not including) the next line
  65.           starting with "#" will be displayed.  For our domain.txt format,
  66.           this USUALLY results in the same display as the above.  (The
  67.           exception occurs when the string is found in an alias and not
  68.           in the original hostname/address line.  In this case, the line 
  69.           containing the operator's name may be left off.)
  70.  
  71. This program is being distributed without charge in the spirit of sharing 
  72. that sets our hobby apart.  Please feel free to distribute and enjoy.  
  73. Address any questions, comments, brickbats, etc., to ka6buv.ampr.org /
  74. 44.56.4.89.  (Al Williams, Concord, MA.)
  75.  
  76.  
  77.  
  78.  
  79.     
  80.           
  81.