Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set fp [open "test.tcl" r]
- set new_file [open "final.tcl" w+]
- while {![eof $fp]} {
- get $fp line
- if $line {$'{'} {
- puts $new_file 'n'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement