Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Agg38
  • Order by date
  1. Agg38

    Parsing and manipulating column based text file in tcl/tk

    I figured out the reason of error. But now I have one more task, now I need to add two text files together and write the output to a new file. I have to add the column4 of file1 to column4 of file2 put the output(all the columns) in a new file. For example: file1: 0 0 200 200 -45.21225200000001...
  2. Agg38

    Parsing and manipulating column based text file in tcl/tk

    Hi Bong, Thanks for the reply. When I try your code it gives an error of "invalid command name expr{70-23.119}" and generates an empty file. Do you know why I must be getting this error when I try to execute the "set lst_clmns [lreplace $lst_clmns 4 4 [expr{70-[lindex $lst_clmns 4]" command
  3. Agg38

    Parsing and manipulating column based text file in tcl/tk

    Hi All, I am new to tcl/tk programming and need some help on reading and manipulating particular columns in text files. What I need to do is read a text file which has 5 columns of number and add or subtract a user defined number from the last column's value. For example the text file is...

Part and Inventory Search

Back
Top