From: Shin Nishiyama Date: 2003-02-17T11:08:40+09:00 Subject: Re: count lines How about this. open("filename"){|f| p f.readlines.size} Shin >Hi there, > >Is there a possibility to count the lines in a file with ruby? > >Any anwer would be very helpful. > >Thanks > >Gustav > >