Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. set fp [open "test.tcl" r]
  2. set new_file [open "final.tcl" w+]
  3. while {![eof $fp]} {
  4. get $fp line
  5. if $line {$'{'} {
  6. puts $new_file 'n'
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement