Various style(9) fixes and typos in grep, sort and patch.

MFC after:	3 days
This commit is contained in:
Pedro F. Giffuni 2014-04-21 22:52:18 +00:00
parent b0620803d5
commit b1a409863f
13 changed files with 71 additions and 71 deletions

View File

@ -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) \

View File

@ -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: