summaryrefslogtreecommitdiff
path: root/src/ptx.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-08 21:03:22 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:51:59 +0100
commit3ba8b044267a5f7cfa8a7b0d7f19dab3f21431da (patch)
tree576e37b75cd77b289313b23676b6bebc08c1e23b /src/ptx.c
parenta517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 (diff)
downloadcoreutils-3ba8b044267a5f7cfa8a7b0d7f19dab3f21431da.tar.xz
maint: src/*.[ch]: convert more `...' to '...'
Run this (twice): git grep -E -l '`.+'\' src/*.[ch] \ |xargs perl -pi -e 's/`(.+?'\'')/'\''$1/'
Diffstat (limited to 'src/ptx.c')
-rw-r--r--src/ptx.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ptx.c b/src/ptx.c
index 257aa73dd..6cfc3bf46 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -86,9 +86,9 @@ static enum Format output_format = UNKNOWN_FORMAT;
/* output format */
static bool ignore_case = false; /* fold lower to upper for sorting */
-static const char *break_file = NULL; /* name of the `Break chars' file */
-static const char *only_file = NULL; /* name of the `Only words' file */
-static const char *ignore_file = NULL; /* name of the `Ignore words' file */
+static const char *break_file = NULL; /* name of the 'Break chars' file */
+static const char *only_file = NULL; /* name of the 'Only words' file */
+static const char *ignore_file = NULL; /* name of the 'Ignore words' file */
/* Options that use regular expressions. */
struct regex_data
@@ -760,7 +760,7 @@ find_occurs_in_text (void)
char *word_end; /* end of word */
char *next_context_start; /* next start of left context */
- /* reference_length is always used within `if (input_reference)'.
+ /* reference_length is always used within 'if (input_reference)'.
However, GNU C diagnoses that it may be used uninitialized. The
following assignment is merely to shut it up. */
@@ -924,8 +924,8 @@ find_occurs_in_text (void)
continue;
}
- /* Ignore the word if an `Ignore words' table exists and if it is
- part of it. Also ignore the word if an `Only words' table and
+ /* Ignore the word if an 'Ignore words' table exists and if it is
+ part of it. Also ignore the word if an 'Only words' table and
if it is *not* part of it.
It is allowed that both tables be used at once, even if this
@@ -2093,12 +2093,12 @@ main (int argc, char **argv)
initialize_regex ();
- /* Read `Break character' file, if any. */
+ /* Read 'Break character' file, if any. */
if (break_file)
digest_break_file (break_file);
- /* Read `Ignore words' file and `Only words' files, if any. If any of
+ /* Read 'Ignore words' file and 'Only words' files, if any. If any of
these files is empty, reset the name of the file to NULL, to avoid
unnecessary calls to search_table. */