Various style(9) fixes and typos in grep, sort and patch.
MFC after: 3 days
This commit is contained in:
parent
b0620803d5
commit
b1a409863f
@ -444,7 +444,7 @@ static int fastcmp(const fastmatch_t *fg, const void *data,
|
||||
}
|
||||
|
||||
/*
|
||||
* Copies the pattern pat having lenght n to p and stores
|
||||
* Copies the pattern pat having length n to p and stores
|
||||
* the size in l.
|
||||
*/
|
||||
#define SAVE_PATTERN(src, srclen, dst, dstlen) \
|
||||
|
@ -194,7 +194,7 @@ This is a random permutation of the inputs except that
|
||||
the equal keys sort together.
|
||||
It is implemented by hashing the input keys and sorting
|
||||
the hash values.
|
||||
The hash function is choosen randomly.
|
||||
The hash function is chosen randomly.
|
||||
The hash function is randomized by
|
||||
.Cm /dev/random
|
||||
content, or by file content if it is specified by
|
||||
@ -212,7 +212,7 @@ The files are compared by their prefixes and versions (leading
|
||||
zeros are ignored in version numbers, see example below).
|
||||
If an input string does not match the pattern, then it is compared
|
||||
using the byte compare function.
|
||||
All string comparisions are performed in C locale, the locale
|
||||
All string comparisons are performed in C locale, the locale
|
||||
environment setting is ignored.
|
||||
.Bl -tag -width indent
|
||||
.It Example:
|
||||
|
Loading…
x
Reference in New Issue
Block a user