see perldoc perlrun, perldoc perlvar for details#!perl -lawn $f = shift @F; $i = 1; print join "\t", $., $f, $i++, shift @F, shift @F while @F;
In reply to Re^3: Text manipulation (some golf)
by ccn
in thread Text manipulation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |