From: anbieter_99@... (Gustav G.) Date: 2003-02-17T17:44:22+09:00 Subject: Re: count lines Shin Nishiyama wrote in message news:<200302171108.BDF62789.IOTJ@xtal.tf.chiba-u.ac.jp>... > 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 > > > > Very nice. Thanks a lot.