From: Pádraig Brady
Date: Thu, 28 Jun 2018 01:09:11 +0000 (-0700) Subject: maint: fix recent stale comments and spelling mistakes X-Git-Tag: v8.30~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68cf7ad5adea99e681e778344612f5be9d7dd881;p=thirdparty%2Fcoreutils.git maint: fix recent stale comments and spelling mistakes * doc/coreutils.texi: s/seperator/separator/. * tests/misc/env-S.pl: Likewise. * src/env.c: Fix stale comment. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 9ac82f8875..10fd023d80 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -17341,7 +17341,7 @@ This escape sequence works inside single-quoted strings. @end multitable The following @command{awk} script will use tab character as input and output -field seperator (instead of spaces and tabs): +field separator (instead of spaces and tabs): @example $ cat tabs.awk diff --git a/src/env.c b/src/env.c index 1915e79aac..d1797870fd 100644 --- a/src/env.c +++ b/src/env.c @@ -566,7 +566,7 @@ main (int argc, char **argv) break; case ' ': case '\t': - /* Space,tab,dash are undocumented options. Attempt to detect + /* These are undocumented options. Attempt to detect incorrect shebang usage with extraneous space, e.g.: #!/usr/bin/env -i command In which case argv[1] == "-i command". */ diff --git a/tests/misc/env-S.pl b/tests/misc/env-S.pl index 5c3715b6b4..75fc593c95 100755 --- a/tests/misc/env-S.pl +++ b/tests/misc/env-S.pl @@ -139,7 +139,7 @@ my @Tests = ['d11', q[-S'echo FOO \\#BAR'], {OUT=>"FOO #BAR"}], ['d12', q[-S'echo FOO#BAR'], {OUT=>"FOO#BAR"}], - # Test underscore as space/seperator in double/single/no quotes + # Test underscore as space/separator in double/single/no quotes ['s1', q[-S'printf x%sx\\n "A\\_B"'], {OUT=>"xA Bx"}], ['s2', q[-S"printf x%sx\\n 'A\\_B'"], {OUT=>"xA\\_Bx"}], ['s3', q[-S"printf x%sx\\n A\\_B"], {OUT=>"xAx\nxBx"}],