$ wc -l < in.file [download]
In reply to Re: one liner - open file and read by JavaFan in thread one liner - open file and read by baxy77bax