summaryrefslogtreecommitdiff
path: root/converttimes.sh
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-17 20:37:21 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-17 20:37:40 +0200
commit031338ed7d701baaf21b12fa284e7d9035cd14bc (patch)
treee1800dce90f5b42685d32b1355175fff33b71650 /converttimes.sh
parentb0e8849e1ee35e61e7ba51c5db285e01378959bb (diff)
Convert the times and get the statistics with R
Diffstat (limited to 'converttimes.sh')
-rwxr-xr-xconverttimes.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/converttimes.sh b/converttimes.sh
new file mode 100755
index 0000000..5f65c31
--- /dev/null
+++ b/converttimes.sh
@@ -0,0 +1,4 @@
+#! /bin/bash
+
+cat $1 | awk -Fm '{ print ($1 * 60) + $2 }' > $1.converted
+