Description: Fix some typos in the man page Author: Stefan Kangas Forwarded: not-needed --- a/hashcash.1 +++ b/hashcash.1 @@ -388,10 +388,10 @@ .PD 0 .IP "* 2 years < period <= 2 months then time format \s-1YYMM\s0 is used rounded down to the nearest month start;" 8 .IX Item "2 years < period <= 2 months then time format YYMM is used rounded down to the nearest month start;" -.IP "* 2 months < period <= 2 days then time format \s-1YYMMDD\s0 is used rounded down to the begining of the nearest day;" 8 -.IX Item "2 months < period <= 2 days then time format YYMMDD is used rounded down to the begining of the nearest day;" -.IP "* 2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the begining of the nearest minute;" 8 -.IX Item "2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the begining of the nearest minute;" +.IP "* 2 months < period <= 2 days then time format \s-1YYMMDD\s0 is used rounded down to the beginning of the nearest day;" 8 +.IX Item "2 months < period <= 2 days then time format YYMMDD is used rounded down to the beginning of the nearest day;" +.IP "* 2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the beginning of the nearest minute;" 8 +.IX Item "2 days < period <= 2 minutes then time format YYMMDDhhmm is used rounded down to the beginning of the nearest minute;" .IP "* period < 2 minutes then time format YYMMDDhhmmss is used in seconds." 8 .IX Item "period < 2 minutes then time format YYMMDDhhmmss is used in seconds." .RE @@ -399,7 +399,7 @@ .PD .Sp Note the rounding down is based on \s-1UTC\s0 time, not local time. This can -lead to initially suprising results when rounding down to eg days in +lead to initially surprising results when rounding down to eg days in time zones other than \s-1GMT\s0 (\s-1UTC\s0 = \s-1GMT\s0). It may be clearer to understand if you use the \fI\-u\fR option. .RE @@ -413,7 +413,7 @@ rounded down to the nearest day, or minute respectively. .Sp Note the rounding down is based on \s-1UTC\s0 time, not local time. This can -lead to initially suprising results when rounding down to eg days in +lead to initially surprising results when rounding down to eg days in time zones other than \s-1GMT\s0 (\s-1UTC\s0 = \s-1GMT\s0). It may be clearer to understand if you use the \fI\-u\fR option. .IP "\fI\-g period\fR" 4 @@ -593,7 +593,7 @@ they do have to be quoted with \e to that character in the searched string. The regular expression automatically has ^ added at the beginning and $ added at the end, if they are not specified. The -special characters ^ matches the beginning of the resouce, and $ +special characters ^ matches the beginning of the resource, and $ matches the end of resource. .Sp (Note even if compiled with \s-1BSD\s0 regular expressions, \s-1POSIX\s0 style @@ -752,9 +752,9 @@ creation, which is now in the past. .Sp Note: if the creation time is expressed in the stamp in days, the -precise creation date is the begining of the specified day in \s-1UTC\s0 time +precise creation date is the beginning of the specified day in \s-1UTC\s0 time (similarly for alternate units the creation time is rounded down to -the begining of the unit it is expressed in). For units in days, for +the beginning of the unit it is expressed in). For units in days, for example, this may mean depending on your time zone that the stamp appears to be considered invalid in under the specified expiry period in days relative to your relative view of what day it is, as the @@ -765,7 +765,7 @@ .IX Item "hashcash -cd -b 10 -r foo 1:24:040806:foo::511801694b4cd6b0:1e7297a" Test whether the stamp is otherwise valid, apart from having expired. Omitting the \fI\-e\fR tells hashcash that the stamp will never expire. -An expiry period of forever can also be given explitly like this: \fI\-e +An expiry period of forever can also be given explicitly like this: \fI\-e 0\fR, where an expiry period of 0 means forever. .Sh "Purging old stamps" .IX Subsection "Purging old stamps"