Windows Grep Version 1.3 17th September 1992 (c) 1992 by H. Millington ---------------------------------------------------------------------- CONTENTS Introduction Packing list Installing Windows Grep The Grep DLL Enhancements since the help file was written Disclaimer and agreement ---------------------------------------------------------------------- INTRODUCTION Thanks for downloading Windows Grep, and taking the time to evaluate it. THIS VERSION OF WINDOWS GREP REQUIRES WINDOWS 3.1. IF YOU WOULD LIKE A VERSION THAT RUNS UNDER 3.0, CONTACT ME AT ONE OF THE ADDRESSES BELOW. Windows Grep is a text search utility modelled on the UNIX utility of the same name. It is particularly useful as a programmer's tool for searching program source files for specific variables or function calls. This version also searches any type of binary file, such as word-processor, database and spreadsheet files. The Windows help file gives detailed information about using it. ---------------------------------------------------------------------- PACKING LIST WGREP.EXE Main program WGREP.HLP Help for main program GREP.DLL Required DLL WGREP.TXT This file BWCC.DLL Borland Windows Custom Control Library (if you downloaded the archive with this included) ---------------------------------------------------------------------- INSTALLING WINDOWS GREP To install Windows Grep, simply put the files WGREP.EXE, GREP.DLL, WGREP.HLP in any convenient directory. Windows Grep requires the Borland Windows Custom Control library. If the archive has BWCC.DLL in it put this in your \windows\system directory. If not, and you do not have a copy, you'll have to get one before Windows Grep will work. It can be obtained from cix in petec/files,in CompuServe forum BPROGA and doubtless many other sources. If Windows cannot find the DLLs when Windows Grep is run, make sure they are in a directory on your path, and try again. ---------------------------------------------------------------------- THE GREP DLL The regular expression compiler and parser is implemented in a Shareware DLL written by Chris Roberts. For further information about using it in your own programs, please contact Chris at the following address: Chris Roberts 22092 San Fernando Court Cupertino CA 95014 USA CompuServe: 70550,2601 ---------------------------------------------------------------------- ENHANCEMENTS MADE AFTER HELP FILE WAS WRITTEN WGREP.INI ChDir=0 or 1 Adding this line to WGREP.INI controls whether Windows Grep changes directory to the directory saved the last time it was run or not. ChDir=1 Change directory. ChDir=0 Don't change. Start the search in the default directory, or the one set up in Program Manager. Binary viewer command $m An additional parameter is recognised in the binary file viewer command line. $m is expanded to the match length in hexadecimal. This is so Windows Grep can be used in conjunction with WinDump v1.1 Release 1.1. The command line to drive WinDump is WinDump.exe $f $o $m WinDump can be obtained from John Napier, 1 Wayside Green, Woodcote, Reading, RG8 0PR, United Kingdom. John can be contacted on CompuServe as 100023,201 or jnapier@cix.compulink.co.uk. ---------------------------------------------------------------------- DISCLAIMER AND AGREEMENT Users of Windows Grep must accept this disclaimer of warranty. If you do not accept this disclaimer, do not use Windows Grep. "WINDOWS GREP IS SUPPLIED AS IS. THE AUTHOR DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR ANY PURPOSE. THE AUTHOR ASSUMES NO LIABILITY FOR DAMAGES, DIRECT OR CONSEQUENTIAL, WHICH MAY RESULT FROM THE USE OF WINDOWS GREP, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES." "THE LICENCE AGREEMENT AND WARRANTY SHALL BE CONSTRUED, INTERPRETED AND GOVERNED BY THE LAWS OF ENGLAND AND WALES. YOU MAY HAVE OTHER RIGHTS WHICH VARY FROM ONE STATE TO ANOTHER." Windows Grep is a shareware program, and is provided at no charge to users for evaluation. Feel free to share it with your friends and colleagues, but please do not give it away altered or as part of another system. The essence of user-supported software is to provide computer users with quality software without high prices, and at the same time to provide incentive for programmers to continue to develop new products. If you find Windows Grep useful, and you are continuing to use it after the trial period of 30 days, you must make a registration payment of UK10 pounds or US$20 to Huw Millington, 71 Woodbury Avenue, East Grinstead, W. Sussex RH19 3NY, United Kingdom. In return you will be given a registration number to disable the Shareware reminder which will be good for all future Shareware releases of Windows Grep. You will be informed when such releases become available. The registration fee will license one copy for use on any one computer at any one time. Site Licence arrangements may be made by contacting Huw Millington. Any person or organisation wanting to distribute Windows Grep for profit must first contact Huw Millington at the address above for authorisation. Or Put another way: If you find Windows Grep useful, do the decent thing and register! Huw Millington, 71 Woodbury Avenue, East Grinstead, W. Sussex, RH19 3NY ENGLAND CIX/Internet: huwmill@cix.compulink.co.uk CompuServe: 100016,3452 Internet: 100016.3452@compuserve.com