Guigrep
As you might guess
from the name, guigrep it is a tool for searching files
for strings of text.
Just type
| |
java com.stevesoft.pat.apps.guigrep |
and the
application will start (providing your CLASSPATH is set correctly).
To use it, type the pattern you want to search for in
the first line, and a file pattern with which to select files in the current
directory on the second line (*.java
for all java files,
*.{java,html}
for all files that end in either .java or
.html)--
then hit return. Guigrep will then
display all the matches to your pattern. It will print file names as
it processes them.
The matched lines are displayed in color.
Blue is used for the file and line number,
red is used for the matched portion of the text, and black is used for
the rest of the line.
The source code: guigrep.java
|