set fileName [lindex $argv 0]# Usage: test.tcl file.txtset f [open $fileName r]fconfigure $f -translation binaryset msg [read $f]close $f# You whole file is now in $msgforeach line [split $msg n] { # Skip blank lines # if {$line == ""} {continue}}
Russ Ross wrote:Another handy alerternative at the command line to say output starting at line 100 to the end of the file is to use the tail command at the UNIX prompt as follows:tail +100 myFile
Russ Ross wrote: