Thank you for downloading the tkGrep utility! Requirements: Tcl7.4/Tk4.0 Summary: This application provides a GUI to the unix grep command with AWK like column formatting. Installation: Modify the following files and add execute permission. 1. tkGrep.tcl In the first line add #!/?path?/wish and rename without the .tcl extension. 2. tkGrep_global.tcl Change the following to reflect the correct path: set tkGrep(IMAGEDIR) "/?where_tkGrep_lives?/image" You must set this to the correct directory or the buttons in the application will not work. 3. chmod a+x tkGrep Command Settings: Directory: The working directory. Filename: Name of the file you want to search. Pattern: Search pattern. Options: Standard grep options supported. Formatted Output: Turn on for AWK like column formatting. Line Counter: Turn on for line numbers to appear in output. Seperator: Single character delimeter which indicates columns. Columns: Numbers delimited by spaces Toolbar: Run: Execute the constructed grep command Reset: Clear the command settings (stuff above the toolbar) Clear: Clear the LOG window (Below toolbar where output from command goes) Save: Save the LOG window to a file. Help: View online documentation (Not available yet) Exit: Exit tkGrep Example: Suppose you have the following file: # this is line 1 > column 3 # this is line 2 > column 3 # this is line 3 > column 3 this is line 4 > column 2 this is line 5 > column 2 If you choose the following: Seperator: > <--Note Single Character! Columns: 2 3 you will get the following output: this is line 1 column 3 this is line 2 column 3 this is line 3 column 3 Error Checking: The program checks all entry widgets for validity and performs tilde expansion. It will ask you if you want to overwrite an existing file.