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 Chris Miller 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: *

  1. mune77

    listing values

    I got two lists, pinlist {A B C ..} numlist {2 3 5 ..} now I am trying to list it as table i.e. pin num --- ---- A 2 B 3 C 5 .. why does foreach command doesn't work in following way? set i 1 foreach x [list $pinlist] { puts stdout [format "%-32s %s \n" [lindex $numlist...
  2. mune77

    replace an element from a list

    damn!! you are a genius! thanks feherke
  3. mune77

    replace an element from a list

    I got a list, frq 1 1 1 1 1 2 2 3 ..., I need to to change the 3rd ELEMENT which is 1, to 5. I know the "lreplace" command wouldn't work for this as it doen't take the index of the list. Is there a command to do this job? if not, the possibility might be deleting the 3rd element and appending...
  4. mune77

    search and list information from files

    yeah, that seems handy! many thanks
  5. mune77

    search and list information from files

    I am very new to TCL programming. I have only managed to establish the file search code and the pattern matching. If this is something straight forward - please help me on to build the whole program.
  6. mune77

    search and list information from files

    I have a huge directory of files with some test data. I need to write a program to search only text files (with ".txt") and list the information. The text files contains instances as "ADDR #nnnn", where nnnn is four hex digits. The program should list the hex number against the number of...

Part and Inventory Search

Back
Top