aboutsummaryrefslogtreecommitdiff
path: root/findutils
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
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
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')
-rw-r--r--findutils/find.c2
-rw-r--r--findutils/grep.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 67aa40b21..0596c0059 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -182,7 +182,7 @@
//config: default y
//config: depends on FIND
//config: help
-//config: If the file is a directory, dont descend into it. Useful for
+//config: If the file is a directory, don't descend into it. Useful for
//config: exclusion .svn and CVS directories.
//config:
//config:config FEATURE_FIND_DELETE
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)
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;