diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 18:30:14 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | 36b9a1b6ac2730e78c14552fd55795fe10862a3d (patch) | |
tree | 193aeae1bfea1c96e1cd7226a51208d396bb4ec2 /src/csplit.c | |
parent | ae2b0d2ddca458eb282bb0458987e75e1875a659 (diff) | |
download | coreutils-36b9a1b6ac2730e78c14552fd55795fe10862a3d.tar.xz |
maint: adjust quoting: emit '...', not `...' in diagnostics
* src/csplit.c (parse_repeat_count, extract_regexp): As above.
* src/date.c (main): Likewise.
* src/ls.c (decode_switches): Likewise.
* src/od.c (decode_one_format, main): Likewise.
* src/pathchk.c (no_leading_hyphen): Likewise.
* src/pr.c (main, getoptarg): Likewise.
* src/rm.c (diagnose_leading_hyphen): Likewise.
* src/sort.c (key_warnings, incompatible_options, main): Likewise.
* src/stat.c (print_esc_char): Print '\x', not `\x' in diagnostic.
* src/test.c (main): Likewise.
* src/touch.c (main): Likewise.
* src/tr.c (build_spec_list, validate, append_range): Likewise.
* tests/misc/mktemp: This is an unusual case, since the affected
string contains only the ` of an `...' string. So we change
the long ` to a lone '.
* tests/pr/pr-tests: Manual quote adapting fix-up.
* tests/ln/hard-to-sym: Likewise.
* tests/split/suffix-length: Likewise.
* tests/mv/part-fail: Likewise.
* tests/misc/chcon: Likewise.
* tests/misc/stat-printf: Likewise.
Diffstat (limited to 'src/csplit.c')
-rw-r--r-- | src/csplit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csplit.c b/src/csplit.c index 607092adf..6488b8412 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1070,7 +1070,7 @@ parse_repeat_count (int argnum, struct control *p, char *str) end = str + strlen (str) - 1; if (*end != '}') - error (EXIT_FAILURE, 0, _("%s: `}' is required in repeat count"), str); + error (EXIT_FAILURE, 0, _("%s: '}' is required in repeat count"), str); *end = '\0'; if (str+1 == end-1 && *(str+1) == '*') @@ -1080,7 +1080,7 @@ parse_repeat_count (int argnum, struct control *p, char *str) if (xstrtoumax (str + 1, NULL, 10, &val, "") != LONGINT_OK) { error (EXIT_FAILURE, 0, - _("%s}: integer required between `{' and `}'"), + _("%s}: integer required between '{' and '}'"), global_argv[argnum]); } p->repeat = val; @@ -1107,7 +1107,7 @@ extract_regexp (int argnum, bool ignore, char const *str) closing_delim = strrchr (str + 1, delim); if (closing_delim == NULL) error (EXIT_FAILURE, 0, - _("%s: closing delimiter `%c' missing"), str, delim); + _("%s: closing delimiter '%c' missing"), str, delim); len = closing_delim - str - 1; p = new_control_record (); |