From 68cf7ad5adea99e681e778344612f5be9d7dd881 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 27 Jun 2018 18:09:11 -0700 Subject: [PATCH] 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. --- doc/coreutils.texi | 2 +- src/env.c | 2 +- tests/misc/env-S.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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"}], -- 2.47.2