NthGrep

NthGrep is a Windows version of the UNIX grep utility. NthGrep will search for files containing a text similarly to the Windows find utility except that instead of just listing the files that contain the text it will list the line from file that contains the string with the searched for string highlighted. This allows you to see the context of the string. You may also choose to see surrounding lines or open the entire file.


Buttons
The File button moves to the search directory panel where you can select the directory whose files you want to search.
The Files button moves to the multiple directory search panel where you can select the directory whose files you want to search.
The Search button begins the actual search process and will list the matching files and lines when it is finished.
The Help button loads HTML help files on NthGrep if they are available.


Simple Search

To execute a simple search of the files on a single directory do the following:
  1. Click the file button to move to the directory selection mode (if you have just started NthGrep then you are already here. Key in a string to search for in the "Search String" field..
  2. Indicate whether you want to perform a case sensitive search by checking the "Case Sensitive" menu item in the "Options" menu.
  3. Select a drive and directory to search.
  4. Select a file type to search in the "File Type" field. You may choose an option from the drop down list or key in a file spec.
  5. Click the search button. 

Working With Search Results

Under the "File" menu there are menu items that allow you to save your search results to a file, copy them to the paste buffer or pint them. Also by right clicking on a line in the results window you may open the file in an editor, view the entire file or view the line with surrounding lines.


Multi-Directory Search

Click the files button to perform a multi directory search. The list on the left side of the window includes any directories that will be included in the search. You my add directories to the list by browsing to them in the directory tree and clicking the Add button. You may also save and reopen directory lists with the Open, Save and Save As buttons that are available on the Advanced Search tab.


Customization

The "Options" menu has several options that you may use to format the search results. These options include:
You may also add you own file types by selecting the "Edit File Types" item under the "File" menu.


Other Features

If you will be moving between different directories you may click the Path button to return to a recently searched path. You may also select past search criteria by selecting from the “Search String” drop down.


NthGrep was developed by Mark Reineck at Nth Generation. Please visit us at www.nth-generation.com. Your feedback is welcome.