Why archives are hanging ... - Mailing list pgsql-www

From Marc G. Fournier
Subject Why archives are hanging ...
Date
Msg-id 20051230104953.P1087@ganymede.hub.org
Whole thread Raw
Responses Re: Why archives are hanging ...
List 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@hub.org           Yahoo!: yscrappy              ICQ: 7615664

pgsql-www by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Initial Upgrade of PgFoundry completed
Next
From: Michael Fuhr
Date:
Subject: Re: Why archives are hanging ...