| 1 |
Description: Fix some typos in the man page |
| 2 |
Author: Stefan Kangas <[email protected]> |
| 3 |
Forwarded: not-needed |
| 4 |
|
| 5 |
--- a/hashcash.1 |
| 6 |
+++ b/hashcash.1 |
| 7 |
@@ -388,10 +388,10 @@ |
| 8 |
.PD 0 |
| 9 |
.IP "* 2 years < period <= 2 months then time format \s-1YYMM\s0 is used rounded down to the nearest month start;" 8 |
| 10 |
.IX Item "2 years < period <= 2 months then time format YYMM is used rounded down to the nearest month start;" |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
+.IP "* 2 months < period <= 2 days then time format \s-1YYMMDD\s0 is used rounded down to the beginning of the nearest day;" 8 |
| 16 |
+.IX Item "2 months < period <= 2 days then time format YYMMDD is used rounded down to the beginning of the nearest day;" |
| 17 |
+.IP "* 2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the beginning of the nearest minute;" 8 |
| 18 |
+.IX Item "2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the beginning of the nearest minute;" |
| 19 |
.IP "* period < 2 minutes then time format YYMMDDhhmmss is used in seconds." 8 |
| 20 |
.IX Item "period < 2 minutes then time format YYMMDDhhmmss is used in seconds." |
| 21 |
.RE |
| 22 |
@@ -399,7 +399,7 @@ |
| 23 |
.PD |
| 24 |
.Sp |
| 25 |
Note the rounding down is based on \s-1UTC\s0 time, not local time. This can |
| 26 |
|
| 27 |
+lead to initially surprising results when rounding down to eg days in |
| 28 |
time zones other than \s-1GMT\s0 (\s-1UTC\s0 = \s-1GMT\s0). It may be clearer to |
| 29 |
understand if you use the \fI\-u\fR option. |
| 30 |
.RE |
| 31 |
@@ -413,7 +413,7 @@ |
| 32 |
rounded down to the nearest day, or minute respectively. |
| 33 |
.Sp |
| 34 |
Note the rounding down is based on \s-1UTC\s0 time, not local time. This can |
| 35 |
|
| 36 |
+lead to initially surprising results when rounding down to eg days in |
| 37 |
time zones other than \s-1GMT\s0 (\s-1UTC\s0 = \s-1GMT\s0). It may be clearer to |
| 38 |
understand if you use the \fI\-u\fR option. |
| 39 |
.IP "\fI\-g period\fR" 4 |
| 40 |
@@ -593,7 +593,7 @@ |
| 41 |
they do have to be quoted with \e to that character in the searched |
| 42 |
string. The regular expression automatically has ^ added at the |
| 43 |
beginning and $ added at the end, if they are not specified. The |
| 44 |
|
| 45 |
+special characters ^ matches the beginning of the resource, and $ |
| 46 |
matches the end of resource. |
| 47 |
.Sp |
| 48 |
(Note even if compiled with \s-1BSD\s0 regular expressions, \s-1POSIX\s0 style |
| 49 |
@@ -752,9 +752,9 @@ |
| 50 |
creation, which is now in the past. |
| 51 |
.Sp |
| 52 |
Note: if the creation time is expressed in the stamp in days, the |
| 53 |
|
| 54 |
+precise creation date is the beginning of the specified day in \s-1UTC\s0 time |
| 55 |
(similarly for alternate units the creation time is rounded down to |
| 56 |
|
| 57 |
+the beginning of the unit it is expressed in). For units in days, for |
| 58 |
example, this may mean depending on your time zone that the stamp |
| 59 |
appears to be considered invalid in under the specified expiry period |
| 60 |
in days relative to your relative view of what day it is, as the |
| 61 |
@@ -765,7 +765,7 @@ |
| 62 |
.IX Item "hashcash -cd -b 10 -r foo 1:24:040806:foo::511801694b4cd6b0:1e7297a" |
| 63 |
Test whether the stamp is otherwise valid, apart from having expired. |
| 64 |
Omitting the \fI\-e\fR tells hashcash that the stamp will never expire. |
| 65 |
|
| 66 |
+An expiry period of forever can also be given explicitly like this: \fI\-e |
| 67 |
0\fR, where an expiry period of 0 means forever. |
| 68 |
.Sh "Purging old stamps" |
| 69 |
.IX Subsection "Purging old stamps" |