![]() |
ngrep |
|
| Home « Computers « ngrep | ||
ngrep is a command line utility that searches for text in files. It was written in C# under the .NET 1.1 Framework. For many years I used the Turbo GREP 3.0 utility that was supplied with the Borland C++ 5.0 development kit. This old utility worked well for many years, but under Windows XP it stopped reporting long file files and I found the number of options inadequate.
In early 2003 I noticed that the .NET Framework namespace System.Text.RegularExpressions had built-in classes that supported the full implementation of full regular expression matching. Since most of the hard work was already done by the Framework, I simply wrote a command line utility in C# with plenty of behaviour switches to wrap around the pattern matching.
Here is the help display from ngrep when no parameters are entered:
FUNCTION: |
I won't bother explaining all of the parameters in detail to other developers, but you should see that the switches provide these features:
A description of the regular expression syntax can be found at MSDN Introduction To Regular Expressions.
| ngrep Project - (11KB) ZIP of the Visual Studio .NET 2005 Project with source code | |
| ngrep Executable - (13KB) ZIP of the EXE file only |
Back to: Computers & Software Main Page