aboutsummaryrefslogtreecommitdiff
path: root/parse_script
diff options
context:
space:
mode:
authorKarel Kočí <kocikare@fel.cvut.cz>2015-08-11 19:19:30 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 10:22:55 +0200
commite4c7d71976be006f1edfaa5ee3ad7619c9a77bba (patch)
tree600d988d91a8a6bd7d0371f25fb68f8678b39095 /parse_script
parent21195308311758b0725773e0a19d1e0edd176c8f (diff)
downloadlinux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.tar.gz
linux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.tar.bz2
linux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.zip
Add parse_script
Parsing maximal value from first thread as result.
Diffstat (limited to 'parse_script')
-rwxr-xr-xparse_script3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse_script b/parse_script
new file mode 100755
index 0000000..868212c
--- /dev/null
+++ b/parse_script
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+cat $1 | grep -e "^! .* ok" | sed -n '2p' | awk '{print $17}'