[CentOS] bash increment in a given way
Mihai T. Lazarescu
mtlagm at gmail.comSat Dec 11 16:05:40 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 .... This outputs: for i in $(seq 0 4 16); do seq $i 1 $i+1; done 0 1 4 5 8 9 12 13 16 17 Mihai
- 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