I'm trying to catch-up process web logs for awstats

how can I allow for leading zero for days 1-9 in below example:


n=32
let i=1
while [ $i -lt $n ]; do
./awstats.pl -config=aname.tld
-logfile=/home/aname.tld/logs/2004-07-$i-access.rog -update

        let i=i+1
done




-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to