[CentOS] bash increment in a given way
S Mathias
smathias1972 at yahoo.comSat Dec 11 14:34:25 UTC 2010
- Previous message: [CentOS] "ultimate" backup choice
- Next message: [CentOS] bash increment in a given way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It's ok, that i can use this, when i want an incrementing sequence, in a given way: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo "Welcome $i times"; done Welcome 0 times Welcome 2 times Welcome 4 times Welcome 6 times Welcome 8 times Welcome 10 times $ but what's the "magic" for this? : $ MAGIC; do echo "Welcome $i times"; done Welcome 0 times Welcome 1 times Welcome 4 times Welcome 5 times Welcome 8 times Welcome 9 times $ thanks:\ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20101211/c089a97f/attachment.html>
- Previous message: [CentOS] "ultimate" backup choice
- Next message: [CentOS] bash increment in a given way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list