Scripting question

Antony Stone Antony at
Wed Nov 6 12:18:59 PST 2002

On Wednesday 06 November 2002 7:08 pm, Archaic wrote:

> 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?

for ((a=1;a<366;a++))
  date +%m%d%y -d "Jan 01 + %a day"



90% of network problems are routing problems.
9 of the remaining 10% are routing problems in the other direction.
The remaining 1% might be something else, but check the routing anyway.
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