Even Perl is over-engineering it.
If you don't want to use nl, then there's always awk. It's a very under-valued utility, especially by those who have been seduced by the Dark Side of the Force Perl.
Even Perl is over-engineering it.
If you don't want to use nl, then there's always awk. It's a very under-valued utility, especially by those who have been seduced by the Dark Side of the Force Perl.