Hello, find attached two patches for trivial fixes. (manpage formatting, typo in error message.)
cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
>From a1d25eb3a872209d7e6e771f344a2da15f85d30b Mon Sep 17 00:00:00 2001 From: Andreas Metzler <[email protected]> Date: Sat, 8 May 2010 18:23:25 +0200 Subject: [PATCH 1/2] Use \- instead of - to get minus instead of a hyphen. --- find/find.1 | 2 +- locate/locatedb.5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/find/find.1 b/find/find.1 index 5da6ddf..e851f82 100644 --- a/find/find.1 +++ b/find/find.1 @@ -643,7 +643,7 @@ Base of file name (the path with the leading directories removed) matches shell pattern \fIpattern\fR. Because the leading directories are removed, the file names considered for a match with .B \-name -will never include a slash, so `-name a/b' will never match anything +will never include a slash, so `\-name a/b' will never match anything (you probably need to use .B \-path instead). The metacharacters (`*', `?', diff --git a/locate/locatedb.5 b/locate/locatedb.5 index e36d85c..65a8351 100644 --- a/locate/locatedb.5 +++ b/locate/locatedb.5 @@ -91,7 +91,7 @@ programs called \fBbigram\fP and \fBcode\fP to produce old-format databases. The old format differs from the above description in the following ways. Instead of each entry starting with an offset-differential count byte and ending with a null, byte values -from 0 through 28 indicate offset-differential counts from -14 through +from 0 through 28 indicate offset-differential counts from \-14 through 14. The byte value indicating that a long offset-differential count follows is 0x1e (30), not 0x80. The long counts are stored in host byte order, which is not necessarily network byte order, and host -- 1.6.5
>From 90c3e66e1f9acf07acb42895a9fdae91e6056ef9 Mon Sep 17 00:00:00 2001 From: Andreas Metzler <[email protected]> Date: Sat, 8 May 2010 18:25:31 +0200 Subject: [PATCH 2/2] Fix typo "atomatically". --- find/parser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/find/parser.c b/find/parser.c index 3da5721..20d9533 100644 --- a/find/parser.c +++ b/find/parser.c @@ -468,7 +468,7 @@ check_option_combinations (const struct predicate *p) { /* This fixes Savannah bug #20865. */ error (EXIT_FAILURE, 0, - _("The -delete action atomatically turns on -depth, " + _("The -delete action automatically turns on -depth, " "but -prune does nothing when -depth is in effect. " "If you want to carry on anyway, just explicitly use " "the -depth option.")); -- 1.6.5
