Why archives are hanging ...

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: pgsql-www(at)postgresql(dot)org
Subject: Why archives are hanging ...
Date: 2005-12-30 14:54:57
Message-ID: 20051230104953.P1087@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www


Here is the cause:

root 66170 96.2 0.1 2316 792 ?? RJ 6:59AM 430:11.37 perl -e $i=<STDIN>;print substr($i,0,4) . "-" . substr($i,4,2); (perl5.8.7)

Specifically, in my script:

set fdate = `echo $j | \
awk -F. '{print $4}' | \
perl -e '$i=<STDIN>;print substr($i,0,4) . "-" . substr($i,4,2);'`

Where $j would be equal to something like:

/usr/local/www/archives.postgresql.org/majordomo/pgsql-hackers/files/public/archive/pgsql-hackers.200512

Can someone suggest a cleaner way of doing this? Specifically, I'm just
converting the last part (200512) to 2005-12 ...

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Michael Fuhr 2005-12-30 17:27:12 Re: Why archives are hanging ...
Previous Message Marc G. Fournier 2005-12-30 14:46:18 Re: Initial Upgrade of PgFoundry completed