[Swift-commit] r4308 - trunk/libexec/log-processing
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Apr 8 09:58:23 CDT 2011
Author: wozniak
Date: 2011-04-08 09:58:23 -0500 (Fri, 08 Apr 2011)
New Revision: 4308
Modified:
trunk/libexec/log-processing/extract-start-time
trunk/libexec/log-processing/normalise-event-start-time
Log:
Minor cleanups
Modified: trunk/libexec/log-processing/extract-start-time
===================================================================
--- trunk/libexec/log-processing/extract-start-time 2011-04-08 02:06:25 UTC (rev 4307)
+++ trunk/libexec/log-processing/extract-start-time 2011-04-08 14:58:23 UTC (rev 4308)
@@ -1,16 +1,14 @@
#!/bin/sh
-set -x
+/bin/pwd 1>&2
-/bin/pwd 1>&2
-
rm -f tmp-extract-starttime2
if [ "X$LOG" != "X" ] ; then
head $LOG | iso-to-secs >> tmp-extract-starttime2
fi
-for e in *.event ; do
+for e in *.event ; do
head -n 1 $e >> tmp-extract-starttime2
done
@@ -18,4 +16,4 @@
read st rest < tmp-extract-starttime
-echo $st
+echo $st
Modified: trunk/libexec/log-processing/normalise-event-start-time
===================================================================
--- trunk/libexec/log-processing/normalise-event-start-time 2011-04-08 02:06:25 UTC (rev 4307)
+++ trunk/libexec/log-processing/normalise-event-start-time 2011-04-08 14:58:23 UTC (rev 4308)
@@ -1,4 +1,4 @@
#!/bin/bash
-normalise-event-start-time-to-any $(cat start-time.tmp);
+normalise-event-start-time-to-any $(cat start-time.tmp)
More information about the Swift-commit
mailing list