summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-01-22 15:26:00 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-01-22 15:26:38 -0800
commit80bc8651fd6b0a41be00ab4ee82e920287b15cbc (patch)
treea2ef53611275246a3460e91511550cea100f0494 /src/ls.c
parent132d0055158a8c1973897ef99c2c6459fc8e1e4f (diff)
downloadcoreutils-80bc8651fd6b0a41be00ab4ee82e920287b15cbc.tar.xz
maint: quote 'like this' or "like this", not `like this'
* doc/coreutils.texi (Formatting the file names): coreutils now quotes 'like this'. * man/help2man: * src/timeout.c (usage): Quote 'like this' in diagnostics. * HACKING, Makefile.am, NEWS, README, README-hacking, TODO, cfg.mk: * doc/Makefile.am, doc/coreutils.texi, m4/jm-macros.m4: * man/Makefile.am, man/help2man, src/Makefile.am, src/copy.h: * src/extract-magic, src/ls.c, src/pinky.c, src/pr.c, src/sort.c: * src/split.c, src/timeout.c, src/who.c, tests/dd/skip-seek-past-file: * tests/pr/pr-tests: Quote 'like this' in commentary. * cfg.mk (old_NEWS_hash): Update due to changed old NEWS.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 86f157179..4dd8b5963 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -2910,7 +2910,7 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
f->stat_ok = true;
- /* Note has_capability() adds around 30% runtime to `ls --color` */
+ /* Note has_capability() adds around 30% runtime to 'ls --color' */
if ((type == normal || S_ISREG (f->stat.st_mode))
&& print_with_color && is_colored (C_CAP))
f->has_capability = has_capability (absolute_name);
@@ -3523,7 +3523,7 @@ print_current_files (void)
}
/* Replace the first %b with precomputed aligned month names.
- Note on glibc-2.7 at least, this speeds up the whole `ls -lU`
+ Note on glibc-2.7 at least, this speeds up the whole 'ls -lU'
process by around 17%, compared to letting strftime() handle the %b. */
static size_t