On 03/10/2007, Robin Houston <robin.houston at gmail.com> wrote: > 3. For the command, put the following: > > perl -le 's/##\d+\w? ##/++$n/eg' Sorry, I pasted the wrong thing here! It should read perl -pe 's/##\d+\w? ##/"##".++$n." ##"/eg' Robin