Help us understand the problem. What is going on with this article?

Bashのブレース展開で00:00から23:59まで

More than 5 years have passed since last update.
$ ( for TIME in {{0..1}{0..9},2{0..3}}:{0..5}{0..9}; do echo $TIME; done; )
00:00
00:01
00:02
(中略)
23:57
23:58
23:59

内容と関係ないんだけど、変数使ってシェル芸キメる時に全体を括弧でくくらないとなんか気持ち悪いのって自分だけ?

2015/04/23追記

↓ブレース展開でゼロパディングできる環境なら

$ echo {00..23}:{00..59} |xargs -n1
mutz0623
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away