Bash Nested Loops, mixture of dates and numbers

Posted by Saleh on Stack Overflow See other posts from Stack Overflow or by Saleh
Published on 2010-10-07T18:31:25Z Indexed on 2010/12/23 22:54 UTC
Read the original article Hit count: 262

Filed under:
|
|

Hi,

I am trying to output a range of commands with different dates and numbers associated. for each hour eg.

Output im trying to do in a loop is:

shell.sh filename<number e.g. between 1-24> <date e.g. 20100928> <number e.g. between 1-24> <id>

So basically the the above will generate an output done 24 times for each particular day with a unique 4 digit id.

I was thinking of having a nested loop, as the batch number needs to be unique.

can anyone help?

© Stack Overflow or respective owner

Related posts about bash

Related posts about for-loop