Skip to content

Instantly share code, notes, and snippets.

@waffle2k
Created November 4, 2011 03:38
Show Gist options
  • Save waffle2k/1338604 to your computer and use it in GitHub Desktop.
Save waffle2k/1338604 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
while( <> ){
if( /^(.*?),(.*)/ ){
for( my $count = 0; $count < 1000; $count++ ){
printf "%s%.3d,%s\n", $1, $count, $2;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment