You could use the Tail() udf....
Code:

$file = tail("some large file.txt",-1)

$min = 2000
$max = 4000

if ubound($file) >= $min-1 and ubound($file) <= $max-1
? "printing all lines between " $min " and " $max " line numbers."
for $i = $min-1 to $max-1
? $file[$i]
next
endif
Code:


Bryce

Edited by Bryce (2005-11-23 09:47 PM)