tMerge branch 'master' of src.adamsgaard.dk:stopwatch - stopwatch - simple time… | |
git clone git://src.adamsgaard.dk/stopwatch | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1cc119587457c6097e2081e1f2e7aa9b36db4d9c | |
parent ee1e1c68dbfe3d6db034e8c6e06c8d260e169350 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 28 Jan 2021 14:10:58 +0100 | |
Merge branch 'master' of src.adamsgaard.dk:stopwatch | |
Diffstat: | |
M LICENSE | 2 +- | |
M stopwatch.1 | 17 +++++++++-------- | |
M timer.1 | 20 +++++++++++--------- | |
3 files changed, 21 insertions(+), 18 deletions(-) | |
--- | |
diff --git a/LICENSE b/LICENSE | |
t@@ -1,6 +1,6 @@ | |
ISC License | |
-Copyright (c) 2020 Anders Damsgaard <[email protected]> | |
+Copyright (c) 2020-2021 Anders Damsgaard <[email protected]> | |
Permission to use, copy, modify, and/or distribute this software for any | |
purpose with or without fee is hereby granted, provided that the above | |
diff --git a/stopwatch.1 b/stopwatch.1 | |
t@@ -3,7 +3,7 @@ | |
.Os | |
.Sh NAME | |
.Nm stopwatch | |
-.Nd reports elapsed time after launch. | |
+.Nd reports elapsed time after launch | |
.Sh SYNOPSIS | |
.Nm | |
.Op Fl p Ar prefix | |
t@@ -13,10 +13,10 @@ | |
.Sh DESCRIPTION | |
The | |
.Nm | |
-prints the elapsed time to standard output by default. The time | |
-is written in the format "%S s" for elapsed durations less than one | |
-minute long, "%M:%SS" for durations less than one hour, and | |
-"%H:%MM:%SS" for all longer durations. | |
+prints the elapsed time to standard output by default. | |
+The time is written in the format "%S s" for elapsed durations less | |
+than one minute long, "%M:%SS" for durations less than one hour, | |
+and "%H:%MM:%SS" for all longer durations. | |
.Pp | |
The options are as follows: | |
.Bl -tag -width Ds | |
t@@ -34,13 +34,14 @@ update the elapsed time with this interval in seconds. | |
write the output to the X root window parameter, which | |
.Xr dwm 1 | |
uses as status line. | |
+.El | |
.Sh EXIT STATUS | |
.Nm | |
exits with 0 on success, and >0 if a a runtime error occurs. | |
.Sh SEE ALSO | |
-.Xr dwm 1 | |
-.Xr spoon 1 | |
-.Xr timer 1 | |
+.Xr dwm 1 , | |
+.Xr spoon 1 , | |
+.Xr timer 1 , | |
.Xr xsetroot 1 | |
.Sh AUTHORS | |
.An Anders Damsgaard Aq Mt [email protected] | |
diff --git a/timer.1 b/timer.1 | |
t@@ -3,7 +3,7 @@ | |
.Os | |
.Sh NAME | |
.Nm timer | |
-.Nd reports elapsed time after launch. | |
+.Nd reports elapsed time after launch | |
.Sh SYNOPSIS | |
.Nm | |
.Op Fl p Ar prefix | |
t@@ -15,13 +15,14 @@ | |
The | |
.Nm | |
counts down from for the specified duration in HH:MM:SS format, and | |
-prints the remaining time to standard output by default. The time | |
-is written in the format "%S s" for remaining time of less than one | |
-minute long, "%M:%SS" for durations less than one hour, and | |
-"%H:%MM:%SS" for all longer durations. | |
+prints the remaining time to standard output by default. | |
+The time is written in the format "%S s" for remaining time of less | |
+than one minute long, "%M:%SS" for durations less than one hour, | |
+and "%H:%MM:%SS" for all longer durations. | |
.Pp | |
In default mode, the program notifies the terminal via a bell | |
-character when the timer ends. When writing to the X root window | |
+character when the timer ends. | |
+When writing to the X root window | |
.Fl ( x ) , | |
the string "END" is displayed upon completion. | |
.Pp | |
t@@ -41,13 +42,14 @@ update the elapsed time with this interval in seconds. | |
write the output to the X root window parameter, which | |
.Xr dwm 1 | |
uses as status line. | |
+.El | |
.Sh EXIT STATUS | |
.Nm | |
exits with 0 on success, and >0 if a a runtime error occurs. | |
.Sh SEE ALSO | |
-.Xr dwm 1 | |
-.Xr spoon 1 | |
-.Xr stopwatch 1 | |
+.Xr dwm 1 , | |
+.Xr spoon 1 , | |
+.Xr stopwatch 1 , | |
.Xr xsetroot 1 | |
.Sh AUTHORS | |
.An Anders Damsgaard Aq Mt [email protected] |