aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /findutils/grep.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 261e563d5..d66d85a53 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -515,7 +515,7 @@ static int grep_file(FILE *file)
515 if (option_mask32 & OPT_o) { 515 if (option_mask32 & OPT_o) {
516 if (FGREP_FLAG) { 516 if (FGREP_FLAG) {
517 /* -Fo just prints the pattern 517 /* -Fo just prints the pattern
518 * (unless -v: -Fov doesnt print anything at all) */ 518 * (unless -v: -Fov doesn't print anything at all) */
519 if (found) 519 if (found)
520 print_line(gl->pattern, strlen(gl->pattern), linenum, ':'); 520 print_line(gl->pattern, strlen(gl->pattern), linenum, ':');
521 } else while (1) { 521 } else while (1) {
@@ -823,7 +823,7 @@ int grep_main(int argc UNUSED_PARAM, char **argv)
823 grep_done: ; 823 grep_done: ;
824 } while (*argv && *++argv); 824 } while (*argv && *++argv);
825 825
826 /* destroy all the elments in the pattern list */ 826 /* destroy all the elements in the pattern list */
827 if (ENABLE_FEATURE_CLEAN_UP) { 827 if (ENABLE_FEATURE_CLEAN_UP) {
828 while (pattern_head) { 828 while (pattern_head) {
829 llist_t *pattern_head_ptr = pattern_head; 829 llist_t *pattern_head_ptr = pattern_head;