home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / SRCHIT11.ZIP / SEARCHIT.TXT < prev   
Text File  |  1993-07-26  |  2KB  |  73 lines

  1.  
  2.                        INSTRUCTIONS FOR "SEARCHIT"
  3.  
  4.  
  5. The purpose of this routine is to print out lines of a text file that 
  6. contain a specified string.  It is very useful in listing every 
  7. occurance of a string in a text file.  HINT:  Please note that if you 
  8. enter a very short string such as "A" then you will get a listing of 
  9. EVERY line that contains the letter A.  That could be a lot of lines and 
  10. be useless.  Include in the search string enough of what you are search 
  11. for so as to make the search worthwhile. 
  12.  
  13. Syntax:
  14. option 1, command line:
  15.  
  16. You may enter all the needed parameters from the command line.  If you 
  17. do and if the search string contains embedded blanks, then you must 
  18. enclose the string in "'s.  For example: 
  19.  
  20.                  searchit "now is the time" myfile lpt1
  21.  
  22. SEARCHIT is the command, "now is the time" is the string for which I 
  23. want to search, MYFILE, is the name of the file I want to search. LPT1 
  24. says I want the output to go to a printer. 
  25.  
  26. WARNING, WARNING!!!!
  27.  
  28. WARNING!!!!!!    You may specify the name of ANY file as the output 
  29. file/device. IF YOU USE THE NAME OF THE PROGRAM THAT YOU WISH TO SEARCH 
  30. AS THE 3RD PARAMETER, YOU WILL OVERWRITE YOUR FILE!!!!!!!!!!!!!!!!!!!!!! 
  31.  
  32. Syntax:
  33.  
  34. option 2, prompted mode:
  35.  
  36. If you just enter the command SEARCHIT and press <enter> then the 
  37. program will ask for you each parameter AND YOU SHOULD NOT ENCLOSE the 
  38. search string in quotes UNLESS they are apart of the string for which 
  39. you are searching. 
  40.  
  41. Copyright 1993, Gary M. Sandow - All rights reserved.
  42.  
  43. Distributed as SHAREWARE.  Registration fee  ZERO.
  44.  
  45. You my use this software by simply registering it with the author.  You 
  46. may do this by:
  47.  
  48.        1. Sending registration message via Compuserve EMAIL to 
  49.        71127,452.
  50.  
  51.        2. By mail:  127 Plantation Trace, Woodstock, GA 30188
  52.  
  53.        3. By message to my BBS (404) 442-6734
  54.  
  55.        4. By fax (404) 442-0214
  56.  
  57. The registration message should include your name and address.  Also 
  58. please indicate what catagories of software you use, eg:
  59.  
  60.        Games, utilities, business, etc.
  61.  
  62. By registering, you will get upgrades, addition shareware, and other 
  63. software offers.
  64.  
  65.                                 WARRANTY
  66.  
  67. This software is distributed AS IS and is to be used at your own RISK.  
  68. There are no warranties, expressed nor implied, of any kind. 
  69. PLEASE OBSERVE THE WARNING described earlier in this document!
  70.  
  71.  
  72.  
  73.