Ok, stupid question of the day.

I'm trying to find & print (dump to a file) the longest line in a text 
file.  I've been able to determine the *length* of the longest line by 
using the 'wc -L' command, but is there any way using find or some other 
command to *output* the longest line?

Any help is most appreciated.

-Eric


Eric Sisler
Library Computer Technician
Westminster Public Library
Westminster, CO, USA
[EMAIL PROTECTED]

Linux - don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to