I don't think he wants line numbers on the code, but rather a line count for the code. But... the following will put line numbers in front of each line:
cat -n filename
-ben
In reply to Re: Re: Line-counts of perl programs/modules
by knobunc
in thread Line-counts of perl programs/modules
by Tarka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |