[CentOS] Shell Script Question
Les Bell
lesbell at lesbell.com.auThu Jul 10 01:06:09 UTC 2008
- Previous message: [CentOS] Shell Script Question
- Next message: [CentOS] yum dependency problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Joseph L. Casale" <JCasale at activenetwerx.com> 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? << Easy: $ seq -f %04g 0000 9999 Best, --- Les Bell, RHCE, CISSP [http://www.lesbell.com.au] Tel: +61 2 9451 1144 FreeWorldDialup: 800909
- Previous message: [CentOS] Shell Script Question
- Next message: [CentOS] yum dependency problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list