in reply to
incrementing a column
perl -i.bak -pe '$_[$#_]eq$_ or$_[@_]=$_;$_.=" ".@_'
[download]
Comment on
Re: incrementing a column
Download
Code
In Section
Seekers of Perl Wisdom