[CentOS] Shell Script Question
Steve Thompson
smt at vgersoft.comThu Jul 10 00:29:03 UTC 2008
- Previous message: [CentOS] Shell Script Question
- Next message: [CentOS] Shell Script Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 9 Jul 2008, Joseph L. Casale wrote:
> 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?
In zsh, it would be something like:
for i in {0000..9999}; do
echo $i
done
-steve
- Previous message: [CentOS] Shell Script Question
- Next message: [CentOS] Shell Script Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list