[Memphis.pm] perl one liner

Keith W. Sheffield sheff at pobox.com
Tue Sep 25 21:42:26 CDT 2001


At the last golum meeting I mentioned seeing a perl one liner that just
counts the lines in a file.  Here it is:

perl -lpe '}$_=$.;{'   [optional list of files]



----------------------------------------------------------------------------
To unsubscribe, please send email to majordomo at pm.org
with 'unsubscribe memphis-pm-list' in the body of the message.
----------------------------------------------------------------------------




More information about the Memphis-pm mailing list