Utils-eurocon: add script to create all output files
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Mon, 28 Feb 2011 18:11:07 +0000 (20:11 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Mon, 28 Feb 2011 18:11:27 +0000 (20:11 +0200)
Utils/test-socket-signal/test/process/do_all_ok [new file with mode: 0755]

diff --git a/Utils/test-socket-signal/test/process/do_all_ok b/Utils/test-socket-signal/test/process/do_all_ok
new file mode 100755 (executable)
index 0000000..ee92907
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+#
+# concatenate files and extrac irrelevant data
+#
+
+for base in "if" "stop" "suspend"; do
+    cat $base-*.txt | ./inactive_timespan_drop_irrelevant | sort -n -k 1 -k 2 > ok-$base-all.txt
+done