Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -515,7 +515,7 @@ static int grep_file(FILE *file)
|
||||
if (option_mask32 & OPT_o) {
|
||||
if (FGREP_FLAG) {
|
||||
/* -Fo just prints the pattern
|
||||
* (unless -v: -Fov doesnt print anything at all) */
|
||||
* (unless -v: -Fov doesn't print anything at all) */
|
||||
if (found)
|
||||
print_line(gl->pattern, strlen(gl->pattern), linenum, ':');
|
||||
} else while (1) {
|
||||
@ -823,7 +823,7 @@ int grep_main(int argc UNUSED_PARAM, char **argv)
|
||||
grep_done: ;
|
||||
} while (*argv && *++argv);
|
||||
|
||||
/* destroy all the elments in the pattern list */
|
||||
/* destroy all the elements in the pattern list */
|
||||
if (ENABLE_FEATURE_CLEAN_UP) {
|
||||
while (pattern_head) {
|
||||
llist_t *pattern_head_ptr = pattern_head;
|
||||
|
Reference in New Issue
Block a user