I would like to generate that looks like this ::--->
S00 00:00
S01 01:00
S02 02:00
S03 03:00
S04 04:00
S05 05:00
S06 06:00
S07 07:00
S08 08:00
S09 09:00
S10 10:00
S11 11:00
S12 12:00
S13 13:00
S14 14:00
S15 15:00
S16 16:00
S17 17:00
S18 18:00
S19 19:00
S20 20:00
S21 21:00
S22 22:00
S23 23:00
What I have so far ::-->
for num in {00..23}; do echo S$num $num:00 ; done
How do I generate that extra zero on the 0 -> 9 range?
Thanks
Joe Despres
S00 00:00
S01 01:00
S02 02:00
S03 03:00
S04 04:00
S05 05:00
S06 06:00
S07 07:00
S08 08:00
S09 09:00
S10 10:00
S11 11:00
S12 12:00
S13 13:00
S14 14:00
S15 15:00
S16 16:00
S17 17:00
S18 18:00
S19 19:00
S20 20:00
S21 21:00
S22 22:00
S23 23:00
What I have so far ::-->
for num in {00..23}; do echo S$num $num:00 ; done
How do I generate that extra zero on the 0 -> 9 range?
Thanks
Joe Despres