--- a/Admin/isatest-statistics Wed Sep 20 13:56:39 2006 +0200
+++ b/Admin/isatest-statistics Wed Sep 20 14:00:25 2006 +0200
@@ -7,6 +7,16 @@
ISATEST_LOG=~isatest/log
+## platform settings
+
+case $(uname) in
+ SunOS)
+ ZGREP=xgrep
+ ;;
+ *)
+ ZGREP=zgrep
+ ;;
+esac
## diagnostics
@@ -47,7 +57,7 @@
SESSION_DATA="/tmp/isatest$$.dat"
mkdir -p "$DIR" || fail "Bad directory: $DIR"
-zgrep "^Finished .*elapsed" \
+$ZGREP "^Finished .*elapsed" \
$(find "$ISATEST_LOG" -name "isatest-makeall-${PLATFORM}*" -ctime "-${TIMESPAN}") | \
perl -e '
while (<>) {
@@ -72,7 +82,7 @@
set timefmt "%Y-%m-%d"
set format x "%d-%b"
set xlabel "$SESSION"
-plot [] [0:] "$SESSION_DATA" using 2:3 title "" smooth sbezier, "$SESSION_DATA" using 2:3 title "" smooth csplines
+plot [] [0:] "$SESSION_DATA" using 2:3 smooth sbezier notitle, "$SESSION_DATA" using 2:3 smooth csplines notitle
EOF
done