Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 20118, A Simple Grep

by Valentino Kyriakides Email: Anonymous


A simple C# grep tool
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C#Builder, Version 1.0  to 1.0 235 downloads
Copyright: No significant restrictions


Size: 21,872 bytes
Updated on Tue, 27 May 2003 13:40:26 GMT
Originally uploaded on Tue, 27 May 2003 13:40:31 GMT
SHA1 Hash: 3D2CC762716F0747DC9755FFDBE7A6A2B3254EE5
MD5 Hash: 4E51B59990C969113C9949ABF03C5192

    Explore the files in this upload

Description
C# Demo of a Simple Grep tool for C#Builder
-------------------------------------------

This example demonstrates a simple none recursive grep tool:

Development topics demonstrated in this example include:

1) How to use a regular expression for text line matching.
2) The usage of "text changed" and "key event" handlers for text boxes.
3) How to do context depending enabling/disabling of a button.
4) One possibility of the directory/file dialog usage.

Possible excercises for enhancements are:

- adding recursive directory/file processing


Compiling the demo
------------------

Open the project group file Grep.bdsgroup and then build the project.

Running the demo
----------------

Run Grep.exe.

Select inside a directory an appropriate source file (for example one
with a csharp extension) and type into the search field some search text, or a regexp search pattern. Press the "Do Grep" button or use the key from inside any text field to perform the grep.


Valentino Kyriakides

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03