perl -i.bak -pe '$_[$#_]eq$_ or$_[@_]=$_;$_.=" ".@_' [download]
In reply to Re: incrementing a column by Anonymous Monk in thread incrementing a column by Anonymous Monk