aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/bin/executable_timesum
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/bin/executable_timesum')
-rw-r--r--home/dot_local/share/bin/executable_timesum4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_timesum b/home/dot_local/share/bin/executable_timesum
new file mode 100644
index 0000000..6284ca4
--- /dev/null
+++ b/home/dot_local/share/bin/executable_timesum
@@ -0,0 +1,4 @@
+#!/bin/sh
+TAB="$(printf '\t')"
+time2tsv "$@" | cut -d"$TAB" -f3 | paste -sd+ - | bc | timefmt
+