Last active
June 1, 2017 14:42
-
-
Save 3clypse/e5f317e0dcc2e8f4dd3fca8700415ca0 to your computer and use it in GitHub Desktop.
HH:MM:SS to minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "01:02:03" | awk -F: '{ print ($1 * 60) + $2 + ($3 / 60)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment