[CentOS] Shell Script Question

Thu Jul 10 00:22:21 UTC 2008
Joseph L. Casale <JCasale at activenetwerx.com>

What's the simplest way to increment the number 0000 up by one until some other 4 digit number while
preserving leading zero's until the 1000's has a digit other than 0?

Thanks!
jlc