If you're in the mood for doing sneaky tricks with -n then why not be really sneaky:
perl -lne '$;+=$_}{print$'Smylers
In reply to Re^2: adding a column of integers
by Smylers
in thread adding a column of integers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |