> I was wondering what the quickest way to count the number of records > (lines) in a text file. It would be neat to do many files at once and save > the output in a seperate file in the format 'filename:::#records'.
wc -l will do one file. Either write a shell script, or have a look at man wc Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn College Computer Support http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/ Debian GNU/Hurd - love at first byte