aboutsummaryrefslogtreecommitdiff
path: root/timetosec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'timetosec.sh')
-rwxr-xr-xtimetosec.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/timetosec.sh b/timetosec.sh
new file mode 100755
index 0000000..7264dcd
--- /dev/null
+++ b/timetosec.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+awk -F: '{ print ($1 * 60) + $2 }'