[CentOS] repeat command
Markus Falb
wnefal at gmail.comFri May 3 00:03:06 UTC 2013
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03.Mai.2013, at 01:45, John R. Dennison wrote: > On Fri, May 03, 2013 at 01:36:36AM +0200, Markus Falb wrote: >> >> this works but at least with bash you can do it with brace expansion >> for x in {1..10}; do … ; done >> >> it's a bashism but maybe more portable, e.g. OS-X has no seq >> no fork (for the seq) is necessary as well > > True. Thing I like about seq is that it also takes an optional > increment value which can be very handy at times. $ echo {1..10..2} -- Markus
- Previous message: [CentOS] repeat command
- Next message: [CentOS] repeat command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list