GREP FOR WINDOWS 4.00 ============================================================================ What is grep? Grep means Get Regular Expression and Print. It is the Windows versiion of the well known UNIX utility that lets you find occurences of a given pattern in one or more files. You can - count the occurences of a pattern instead of printing them, - write the name of the file the pattern was found in, - print the line number of the file where the pattern was detected, - print only the lines where the pattern wasn't found, - make a case-insensitive search, by simply check the boxes in the "option" group. If you used the "Write file name" option, if you double click a line in the result box you will invoke notepad with the file the line was in. Regular expression syntax is so described: q An ordinary character matches itself. Any character not mentioned below is ordinary by definition. \ The backslash quotes any special character. "\$" matches a dollar-sign. ^ A circumflex at the beginning of an expression matches the beginning of a line. $ A dollar-sign at the end of an expression matches the end of a line. . A period matches any character except newline. :a A colon matches a class of characters described by the following :d character. ":a" matches any letter, ":d" matches digits, :n ":n" matches alphanumerics, ": " (be sure to include the blank space!) : matches spaces, tabs, and all other control characters. * An expression followed by an asterisk matches zero or more occurrances (Kleene closure) of that expression: "fo*" matches "f", "fo" "foo", etc. + An expression followed by a plus sign matches one or more (positive closure) occurrances of that expression: "fo+" matches "fo", etc. - An expression followed by a minus sign optionally matches the expression. [] A string enclosed in square brackets matches any character in that string, viewed as a set of charachters. If the first character in the string is a circumflex, the expression matches any character except the characters in the string. For example, "[abc]" matches "bb" and "cab", while "[^rst]" matches "abc" but not "arb". A range of characters may be specified by two characters separated by "-". Note that, [a-z] matches lowercase letters, while [z-a] matches nothing. The concatenation of regular expressions is a regular expression. WARRANTY (standard disclaimer): Users of WinGrep must accept this disclaimer of warranty: "WinGrep is supplied as is. The author disclaims all warranties, espressed 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 WinGrep" REGISTRATION: WinGrep is not free software. You are free (and encouraged) to distribute it to your friends and to upload it to public BBSs, but if you want to use it for more than 21 days of trial period, you should register. Please support the shareware idea, so that programmers are encouraged to produce better and better software. Registration entitles you to receive the latest version of WinGrep on disk, and grants you a non-exclusive license to use WinGrep on one machine. It will also disable the registration prompt starting the apliication. Registered users will be notified of all future updates and enhancements. Registration fees: Single users, non commercial 10$ or 20,000 Lire Single Users, commercial 20$ or 50,000 Lire Multiple Users Contact me! Excluding 3$ for S/H in Europe, 5$ Overseas. (Not charged if sent by network means) Please send checks, money orders or cash to Alessandro Catorcini Via A. Crocco 3F/6 I - 16122 Genoa, Italy <=== (That's why my English is so strange) Contact me for information about dealer pricing and volume discounts, comments or suggestions, or for technical information: call ++39-10-810283, write to the above address or or send a mail through Internet, to Nostrum@Dist.Unige.It WHAT'S NEW 4.0 =============== - Print and clipboard commands enabled in result window - No more gauge.vbx needed WHAT'S NEW 3.0 =============== - Resizable and minimizable result window - Save preferences WHAT'S NEW 2.0 =============== - New 3D controls - Fixed some bugs in invalid pattern handling - Files and directories in different lists - Increased speed WHAT'S NEW 2.02 =============== - New gauge dialog box to monitor "search in progress" status - Fixed a bug in resource handling How to install wingrep 4.00 ============================================================================ Files included in this package are: WINGREP.EXE The executablee file CTL3D.DLL The DLL that enables 3D controls The latter file should be copied to your WINDOWS\SYSTEM directory, IF YOU ARE SURE NOT TO OVRWRITE NEWER VERSIONS OF THEM. I have planned to write an installation prrogram, but I have no time right now. Windows is a trade mark of Microsoft (I don't think I have mentioned anybody else). ENJOY WINGREP!