diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-08 15:08:30 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 (patch) | |
tree | 20ad6e7d6aa0baed16f884fca2bccff4dda4983d /src/printf.c | |
parent | 9af0dced5a2eb167ec7b9dfe3f358f214e45d41a (diff) | |
download | coreutils-a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4.tar.xz |
maint: src/*.c: change remaining quotes (without embedded spaces)
Run this (twice):
git grep -E -l '`[^ ]+'\' src/*.c \
|xargs perl -pi -e 's/`([^ ]+'\'')/'\''$1/'
Diffstat (limited to 'src/printf.c')
-rw-r--r-- | src/printf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/printf.c b/src/printf.c index 538d8fc47..a5317864a 100644 --- a/src/printf.c +++ b/src/printf.c @@ -41,7 +41,7 @@ %b = print an argument string, interpreting backslash escapes, except that octal escapes are of the form \0 or \0ooo. - The `format' argument is re-used as many times as necessary + The 'format' argument is re-used as many times as necessary to convert all of the given arguments. David MacKenzie <djm@gnu.ai.mit.edu> */ @@ -57,7 +57,7 @@ #include "unicodeio.h" #include "xprintf.h" -/* The official name of this program (e.g., no `g' prefix). */ +/* The official name of this program (e.g., no 'g' prefix). */ #define PROGRAM_NAME "printf" #define AUTHORS proper_name ("David MacKenzie") @@ -464,14 +464,14 @@ print_direc (const char *start, size_t length, char conversion, } /* Print the text in FORMAT, using ARGV (with ARGC elements) for - arguments to any `%' directives. + arguments to any '%' directives. Return the number of elements of ARGV used. */ static int print_formatted (const char *format, int argc, char **argv) { int save_argc = argc; /* Preserve original value. */ - const char *f; /* Pointer into `format'. */ + const char *f; /* Pointer into 'format'. */ const char *direc_start; /* Start of % directive. */ size_t direc_length; /* Length of % directive. */ bool have_field_width; /* True if FIELD_WIDTH is valid. */ @@ -662,7 +662,7 @@ main (int argc, char **argv) } /* The above handles --help and --version. - Since there is no other invocation of getopt, handle `--' here. */ + Since there is no other invocation of getopt, handle '--' here. */ if (1 < argc && STREQ (argv[1], "--")) { --argc; |