Short: Ports grep output to an AmigaGuide File Author: gragg@inetworld.net (Brian Gragg) Uploader: gragg@inetworld.net (Brian Gragg) Type: rexx/misc AGgrep is an ARexx script which runs grep (a file search program) and puts the results in an AmigaGuide file. That way you can click on a line number where the search text was found, and your text editor is opened with the correct file at the correct line. I wrote it for use with TurboText and Grep (from SAS/C v6.3) This archive contains 4 files. AGgrep.rexx - a rexx program which runs grep (I used SAS/C v6.3 grep) and converts the output to an AmigaGuide file. When you click on the output line, your editor is opened pointing to that line. I wrote it for Turbotext, but it should be easy to convert it to another editor. TTXEditAtLine.rexx - a script which will open a file in TurboText at a given line. DoArgs.rexx - A simple rexx routine which opens a window with a string requester for you to enter your arguments to AGgrep. It actually is generic for starting a program with arguments. Grep.ttx - a turbotext script which calls AGgrep.rexx AGgrep.guide - the documentation on how to convert it for your editor. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 3543 1564 55.8% 27-Nov-95 20:20:02 AGgrep.guide 5224 1932 63.0% 21-Sep-95 20:52:04 AGgrep.rexx 1190 480 59.6% 27-Nov-95 20:15:02 DoArgs.rexx 257 201 21.7% 22-Sep-95 14:34:54 Grep.ttx 1094 574 47.5% 21-Sep-95 20:25:44 TTXEditAtLine.rexx -------- ------- ----- --------- -------- 11308 4751 57.9% 02-Dec-95 16:53:38 5 files