/ Published in: TCL
Expand |
Embed | Plain Text
proc _fileLinesList {fn} { # Returns the lines of a given file as a list. set f [open $fn r] set t [read $f [file size $fn]] close $f return [split $t \n] }
You need to login to post a comment.
