Home | Online Help | OS/2 | WarpZip | WarpZip - Grep

WarpZip - Grep

The power of WarpZip's grep function comes after the search by permitting you to open any file that met the grep parameters or viewing any archive containing a grepped file by double clicking it's name.

  • Search one or a list of archives.
  • Search for any complete word, partial word or phrase.
  • Make search case sensitive.
  • Option to list text lines containing search parameters.
  • Double click on any archive name to open it in the main archive viewing window.
  • Double click on any file name in the Grep result window to view the file in the internal viewer.
  • Search parameter is entered automatically in the internal text viewers search field so all you have to do is click the search button repeatedly to see every instance of your search criteria.

How to use GREP:

To Grep one archive just choose the Grep menu item while the archive is loaded. To Grep two or more archives you'll open the search dialog and find the files you want included then press the Grep button. For example, to Grep all the files on drive C: you would load all the zip files on drive C: into the search dialog and press the Grep button. Don't worry if there are more files than you actually want to search, you'll be able to select the files you want from the Grep dialog.

Now you can:

  • Select (highlight) the archives you wish to search through in the listbox containing the archive names.
  • Enter the text you wish to search for in the "Search text" field.
  • Check the "Case sensitive" checkbox if you want the search to be case sensitive.
  • Check the "Complete word only" checkbox if you want to find only exact word matches delimited by spaces as opposed to being a substring of another word.
  • Check the "Show filename w/text line" if you want every line of text with a match contained in the file to appear in the Grep results window.
  • Press the "Search" button.

When the search starts, the listbox containing the archives you wish to search will have all archives that are not being searched removed and the others will be unhighlighted. As the search progresses the file being searched will be highlighted and the help tip line at the bottom of the window will tell you how many files have been searched from the archives so far. As matches are found, the filename of the matched file and optionally the line of text will appear in the Grep results window. The text lines will be indented and the filenames will be left justified to allow easier access to the filenames.

To view any Grepped file in the internal viewer just double click the filename in the Grep results window. The text lines will not generate a response to the double click. To open the archive containing a grepped file just double click the archive name in the archive listing window. (Be sure to unselect all of the archives first)

The "Refresh" button will reload the archive listing from the search dialog in case you have searched a partial listing of the files and have less than a complete listing remaining or if you have loaded a different set of files into the search dialog.

You can change parameters and start a new search or repeat searches at any time.

The Grep window also contains a PillarShift bar (as we're calling it) to adjust the windows to view text etc more efficiently. For example, after a search you may wish to see more of the filenames or text lines in the grep results window. Just click on the line under the windows to adjust them to one side or another.

Search dialog  WarpZip Setting directories