1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

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.
This commit is contained in:
Pádraig Brady
2018-06-27 18:09:11 -07:00
parent 1755ffb7b6
commit 68cf7ad5ad
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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". */

View File

@@ -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"}],