in reply to increment id num

Have a look at the following:
File file.dat:
"I000001","dummy","dummy" "I000003","dummy","dummy" "I000002","dummy","dummy" "I000004","dummy","dummy" "I000010","dummy","dummy" "I000019","dummy","tommy"
Perl script:
my $content; open FILE, '+<', 'file.dat' or die "Could not open 'file.dat': $!\n"; $content = $_ for (<FILE>); $content =~ s/(?<=^"\w)(\d{6})/sprintf "%06d", $1 + 1/e; print FILE "\n$content"; close FILE;
Besides, Limbic~Region's proposal to use the magic of the increment operator is interesting too, try
perl -e "$x = 'I000199'; print ++$x"
to get acquainted with it.

Hope this helped.
CombatSquirrel.
Entropy is the tendency of everything going to hell.