summaryrefslogtreecommitdiff
path: root/src/paste.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-08 15:08:30 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commita517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 (patch)
tree20ad6e7d6aa0baed16f884fca2bccff4dda4983d /src/paste.c
parent9af0dced5a2eb167ec7b9dfe3f358f214e45d41a (diff)
downloadcoreutils-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/paste.c')
-rw-r--r--src/paste.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/paste.c b/src/paste.c
index 3989f6679..493d0daa2 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -32,7 +32,7 @@
DELIM-LIST instead of tab to separate
merged lines. When DELIM-LIST is exhausted,
start again at its beginning.
- A FILE of `-' means standard input.
+ A FILE of '-' means standard input.
If no FILEs are given, standard input is used. */
#include <config.h>
@@ -45,7 +45,7 @@
#include "fadvise.h"
#include "quotearg.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 "paste"
#define AUTHORS \
@@ -65,7 +65,7 @@ static bool serial_merge;
/* The delimeters between lines of input files (used cyclically). */
static char *delims;
-/* A pointer to the character after the end of `delims'. */
+/* A pointer to the character after the end of 'delims'. */
static char const *delim_end;
static struct option const longopts[] =
@@ -228,7 +228,7 @@ paste_parallel (size_t nfiles, char **fnamptr)
/* Set up for the next line. */
bool somedone = false;
char const *delimptr = delims;
- size_t delims_saved = 0; /* Number of delims saved in `delbuf'. */
+ size_t delims_saved = 0; /* Number of delims saved in 'delbuf'. */
size_t i;
for (i = 0; i < nfiles && files_open; i++)
@@ -302,7 +302,7 @@ paste_parallel (size_t nfiles, char **fnamptr)
}
else
{
- /* Closed file; add delimiter to `delbuf'. */
+ /* Closed file; add delimiter to 'delbuf'. */
if (*delimptr != EMPTY_DELIM)
delbuf[delims_saved++] = *delimptr;
if (++delimptr == delim_end)
@@ -378,10 +378,10 @@ paste_serial (size_t nfiles, char **fnamptr)
saved_errno = errno;
if (charold != EOF)
{
- /* `charold' is set up. Hit it!
- Keep reading characters, stashing them in `charnew';
- output `charold', converting to the appropriate delimiter
- character if needed. After the EOF, output `charold'
+ /* 'charold' is set up. Hit it!
+ Keep reading characters, stashing them in 'charnew';
+ output 'charold', converting to the appropriate delimiter
+ character if needed. After the EOF, output 'charold'
if it's a newline; otherwise, output it and then a newline. */
while ((charnew = getc (fileptr)) != EOF)