[CentOS] bash increment in a given way
Athmane Madjoudj
athmanem at gmail.comSat Dec 11 15:03:13 UTC 2010
- Previous message: [CentOS] bash increment in a given way
- Next message: [CentOS] bash increment in a given way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/11/2010 03:41 PM, Stephen Harris wrote: > On Sat, Dec 11, 2010 at 06:34:25AM -0800, S Mathias wrote: > You might just have to hard-code the sequence: > > for i in 0 1 4 5 8 9; do .... > You can use seq (see: man seq) for i in `seq FIRST INCREMENT LAST` ; do echo $i done; -- Athmane Madjoudj
- Previous message: [CentOS] bash increment in a given way
- Next message: [CentOS] bash increment in a given way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list