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/basename.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/basename.c')
-rw-r--r-- | src/basename.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basename.c b/src/basename.c index a8e59c2e1..c78623253 100644 --- a/src/basename.c +++ b/src/basename.c @@ -34,7 +34,7 @@ #include "error.h" #include "quote.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 "basename" #define AUTHORS proper_name ("David MacKenzie") @@ -122,9 +122,9 @@ main (int argc, char **argv) name = base_name (argv[optind]); strip_trailing_slashes (name); - /* Per POSIX, `basename // /' must return `//' on platforms with + /* Per POSIX, `basename // /' must return '//' on platforms with distinct //. On platforms with drive letters, this generalizes - to making `basename c: :' return `c:'. This rule is captured by + to making `basename c: :' return 'c:'. This rule is captured by skipping suffix stripping if base_name returned an absolute path or a drive letter (only possible if name is a file-system root). */ |