From: blufur Date: 2007-08-21T07:24:03+09:00 Subject: # of lines in a file is there built-in method to determine the number of lines in a file? i tried file.readlines.length but it is very slow (dealing with files > 1 million lines) thanks, DAN