[cig-commits] r5615 - cs/stats/trunk
sue at geodynamics.org
sue at geodynamics.org
Thu Dec 21 16:14:21 PST 2006
Author: sue
Date: 2006-12-21 16:14:21 -0800 (Thu, 21 Dec 2006)
New Revision: 5615
Modified:
cs/stats/trunk/get_users
Log:
Correct ordering of months and years
Modified: cs/stats/trunk/get_users
===================================================================
--- cs/stats/trunk/get_users 2006-12-21 20:31:46 UTC (rev 5614)
+++ cs/stats/trunk/get_users 2006-12-22 00:14:21 UTC (rev 5615)
@@ -3,8 +3,8 @@
for p in `ls *_Jan_2006`; do
project=`echo $p | rev | cut -d _ -f 3- | rev`
rm -f ${project}_users ${project}_institutions ${project}_total_users
- for month in `cat months`; do
- for year in `cat years`; do
+ for year in `cat years`; do
+ for month in `cat months`; do
wc -l ${project}_${month}_${year} | cut -f 1 -d " " >> ${project}_users
rm -f users
for f in `cat ${project}_${month}_${year}`; do
More information about the cig-commits
mailing list