Scripting question

Ainsley Pereira marble at
Wed Nov 6 11:21:31 PST 2002

In message <20021106190851.GA623 at>
          Archaic <archaic at> wittered:

> I needed to create a file with everyday of the year in mmddyy form.
> After searching some bash tutorials on the web I couldn't find an elegant
> way to construct the for loop, so I did the brute force method. Any
> suggestions? Here's my script (effective, but horrendous). 

You could start by using seq for the days. (for d in $(seq 1 30); etc...)


  / Ainsley 'Marble' Pereira / /
 / Don't drink and drive.
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list