From a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 8 Jan 2012 15:08:30 +0100 Subject: maint: src/*.c: change remaining quotes (without embedded spaces) Run this (twice): git grep -E -l '`[^ ]+'\' src/*.c \ |xargs perl -pi -e 's/`([^ ]+'\'')/'\''$1/' --- src/basename.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/basename.c') 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). */ -- cgit v1.2.3-54-g00ecf