Setting Up TclforawkCreate 2 folders in your home directory:
Download [Tclforawk.v2.tcl], [tclforawk.xbm] and place them in [/home/yourloginame/Tclforawk]. The [.xbm] is an icon image file. Download [scripts.tar.gz] and unpack the scripts and input files into [/home/yourloginame/Tclforawk/scripts]. So that all AWK-script files [*.awk] and their associated input files [*.txt] are in the [/scripts] folder. Scripts must maintain the .awk extension and input files must maintain the .txt extension. You may add any other awkscripts and their associated input files to the [/scripts] folder at any time. You may have any number of input files that are associated with each awkscript as you desire. Tclforawk simply opens that folder for you to select from. Set permission on Tclforawk.v2.tcl to executable. So your folders should look something like..... /home/magicme/Tclforawk
/home/magicme/Tclforawk/scripts
open a terminal window ("command line window") and cd (change directory) into
/home/magicme/Tclforawk, and type in the command... ![]() Select an awkscript and an input file using the toolbar buttons, and edit the numeric input data as desired. Be sure not to edit the first field of any input line, because all the awkscripts in this package assign variable values according to the text in the first field. When you add awkscripts of your own, set them up as you wish. You may add any amount of new text to these input files simply by starting each line with the # symbol to be sure that the awkscript doesn't read it as input data. You may edit the file Tclforawk.v2.tcl in any text editor, if you are familiar with Tcl and desire to modify it. ![]() then click the RUN button.... ![]() Then FILE > SAVE AS .... wherever. The FILE > notefile operation quickly opens the text file ~/Tclforawk/scripts/notesandinfo.txt, which is simply a convenient place to store data you use often. When you get bored, change colors as desired.... ![]() Tikmark Home Page |