diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-02-05 02:17:12 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-02-05 02:18:24 +1300 |
commit | b9b5a431422c4213fe555e284fcfaa96cd692267 (patch) | |
tree | f2b81334491757777f857afed7925204fd4844f2 /man/man1/hms.1df | |
parent | Escape literal backslash in sec(1df) manual (diff) | |
download | dotfiles-b9b5a431422c4213fe555e284fcfaa96cd692267.tar.gz dotfiles-b9b5a431422c4213fe555e284fcfaa96cd692267.zip |
Add hms(1df)
Diffstat (limited to 'man/man1/hms.1df')
-rw-r--r-- | man/man1/hms.1df | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/man/man1/hms.1df b/man/man1/hms.1df new file mode 100644 index 00000000..5c1a287c --- /dev/null +++ b/man/man1/hms.1df @@ -0,0 +1,23 @@ +.TH HMS 1df "February 2017" "Manual page for hms" +.SH NAME +.B hms +\- convert seconds to colon-delimited durations +.SH USAGE +.B hms +FILE1 [FILE2 ...] +.br +.B hms +< FILE +.br +printf '1:02:54\\n' | +.B hms +.br +hms=$(printf '%s\\n' "$seconds" | hms) +.SH DESCRIPTION +Applies awk(1) to convert counts of seconds into hh:mm:ss or mm:ss timestamps. +Exits zero if all lines were successfully recognised and converted, non-zero +otherwise. +.SH SEE ALSO +sec(1df) +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |