From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 06 Jan 2012 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: patch To: 10443@debbugs.gnu.org X-Debbugs-Original-To: bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132583889221268 (code B ref -1); Fri, 06 Jan 2012 08:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2012 08:34:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj5GF-0005Wy-6n for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:34:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj5GC-0005Wn-8e for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:34:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj5Cc-0007NH-DS for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:31:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:33960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5Cc-0007ND-BU for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:31:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5CZ-0008Ig-JH for bug-automake@gnu.org; Fri, 06 Jan 2012 03:31:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj5CV-0007LA-Pu for bug-automake@gnu.org; Fri, 06 Jan 2012 03:31:03 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:60544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5CV-0007Kl-7a for bug-automake@gnu.org; Fri, 06 Jan 2012 03:30:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8E6A0A60002 for ; Fri, 6 Jan 2012 00:30:57 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNPwGoIUyO8B for ; Fri, 6 Jan 2012 00:30:55 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4FCC0A60008 for ; Fri, 6 Jan 2012 00:30:55 -0800 (PST) Message-ID: <4F06B140.4010409@cs.ucla.edu> Date: Fri, 06 Jan 2012 00:30:56 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.6 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) This proposed patch follows up on recent changes to the GNU coding standards. They now suggest that we should quote 'like this' or "like this" instead of `like this'; see . Gnulib is being changed accordingly, and Gnulib imports some files directly from Automake master, so here is a proposed patch to Automake master so that these files use the straight-up style. This patch affects only commentary and quoting in diagnostics. >From f78c4d9a1fc2705badae4ce4ebf46d5d1c8209e0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 6 Jan 2012 00:24:26 -0800 Subject: [PATCH] Quote 'like this', not `like this'. --- lib/ar-lib | 2 +- lib/compile | 22 ++++++------ lib/depcomp | 40 ++++++++++---------- lib/elisp-comp | 8 ++-- lib/gnupload | 12 +++--- lib/install-sh | 10 +++--- lib/mdate-sh | 12 +++--- lib/missing | 102 ++++++++++++++++++++++++++-------------------------- lib/mkinstalldirs | 4 +- lib/ylwrap | 8 ++-- 10 files changed, 110 insertions(+), 110 deletions(-) diff --git a/lib/ar-lib b/lib/ar-lib index 1a1dbd0..85d028f 100755 --- a/lib/ar-lib +++ b/lib/ar-lib @@ -98,7 +98,7 @@ func_at_file () case $1 in '') - func_error "no command. Try \`$0 --help' for more information." + func_error "no command. Try '$0 --help' for more information." ;; -h | --h*) cat <&2 + echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. +right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF @@ -233,8 +233,8 @@ do else case $1 in -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) @@ -261,10 +261,10 @@ do done if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a + # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also + # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi @@ -273,7 +273,7 @@ fi cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. -# Note: use `[/\\:.-]' here to ensure that we don't use the same name +# Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d diff --git a/lib/depcomp b/lib/depcomp index bd0ac08..ff4e08f 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -28,7 +28,7 @@ scriptversion=2011-12-04.11; # UTC case $1 in '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) @@ -40,8 +40,8 @@ as side-effects. Environment variables: depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. @@ -156,7 +156,7 @@ gcc) ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. +## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding @@ -164,7 +164,7 @@ gcc) ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory +## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. @@ -203,7 +203,7 @@ sgi) # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the + # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ @@ -229,7 +229,7 @@ sgi) aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the + # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` @@ -259,9 +259,9 @@ aix) test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. + # Each line is of the form 'foo.o: dependent.h'. # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. + # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" @@ -275,7 +275,7 @@ aix) ;; icc) - # Intel's C compiler understands `-MD -MF file'. However on + # Intel's C compiler understands '-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c @@ -300,10 +300,10 @@ icc) exit $stat fi rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Each line is of the form 'foo.o: dependent.h', + # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. + # '$object: dependent.h' and one to simply 'dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. @@ -344,7 +344,7 @@ hp2) done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. + # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// @@ -359,9 +359,9 @@ hp2) tru64) # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. + # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= @@ -478,7 +478,7 @@ dashmstdout) shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do @@ -498,9 +498,9 @@ dashmstdout) done test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' + # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" @@ -583,7 +583,7 @@ cpp) shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do diff --git a/lib/elisp-comp b/lib/elisp-comp index ecc6b15..4e9cccd 100755 --- a/lib/elisp-comp +++ b/lib/elisp-comp @@ -30,16 +30,16 @@ scriptversion=2010-02-06.18; # UTC case $1 in '') - echo "$0: No files. Try \`$0 --help' for more information." 1>&2 + echo "$0: No files. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: elisp-comp [--help] [--version] FILES... -This script byte-compiles all `.el' files listed as FILES using GNU -Emacs, and put the resulting `.elc' files into the current directory, -so disregarding the original directories used in `.el' arguments. +This script byte-compiles all '.el' files listed as FILES using GNU +Emacs, and put the resulting '.elc' files into the current directory, +so disregarding the original directories used in '.el' arguments. This script manages in such a way that all Emacs LISP files to be compiled are made visible between themselves, in the event diff --git a/lib/gnupload b/lib/gnupload index edb4b56..209f875 100755 --- a/lib/gnupload +++ b/lib/gnupload @@ -57,7 +57,7 @@ Options: --version output version information and exit If --symlink-regex is given without EXPR, then the link target name -is created by replacing the version information with \`-latest', e.g.: +is created by replacing the version information with '-latest', e.g.: foo-1.3.4.tar.gz -> foo-latest.tar.gz @@ -170,7 +170,7 @@ while test -n "$1"; do break ;; -*) - echo "$0: Unknown option \`$1', try \`$0 --help'" 1>&2 + echo "$0: Unknown option '$1', try '$0 --help'" 1>&2 exit 1 ;; esac @@ -219,7 +219,7 @@ else for file do if test ! -f $file; then - echo "$0: Cannot find \`$file'" 1>&2 + echo "$0: Cannot find '$file'" 1>&2 exit 1 elif test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` @@ -238,10 +238,10 @@ fi unset passphrase # Reset PATH to be sure that echo is a built-in. We will later use -# `echo $passphrase' to output the passphrase, so it is important that -# it is a built-in (third-party programs tend to appear in `ps' +# 'echo $passphrase' to output the passphrase, so it is important that +# it is a built-in (third-party programs tend to appear in 'ps' # listings with their arguments...). -# Remember this script runs with `set -e', so if echo is not built-in +# Remember this script runs with 'set -e', so if echo is not built-in # it will exit now. PATH=/empty echo -n "Enter GPG passphrase: " stty -echo diff --git a/lib/install-sh b/lib/install-sh index 64c4b3e..377bb86 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -35,7 +35,7 @@ scriptversion=2011-11-20.07; # UTC # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it +# 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written @@ -156,7 +156,7 @@ while test $# -ne 0; do -s) stripcmd=$stripprog;; -t) dst_arg=$2 - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac @@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then fi shift # arg dst_arg=$arg - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac @@ -202,7 +202,7 @@ if test $# -eq 0; then echo "$0: no input file specified." >&2 exit 1 fi - # It's OK to call `install-sh -d' without argument. + # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi @@ -240,7 +240,7 @@ fi for src do - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac diff --git a/lib/mdate-sh b/lib/mdate-sh index 60dc485..3e0858e 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -40,7 +40,7 @@ fi case $1 in '') - echo "$0: No file. Try \`$0 --help' for more information." 1>&2 + echo "$0: No file. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) @@ -76,7 +76,7 @@ LC_TIME=C export LC_TIME # GNU ls changes its time format in response to the TIME_STYLE -# variable. Since we cannot assume `unset' works, revert this +# variable. Since we cannot assume 'unset' works, revert this # variable to its documented default. if test "${TIME_STYLE+set}" = set; then TIME_STYLE=posix-long-iso @@ -96,14 +96,14 @@ if ls -n /dev/null 1>/dev/null 2>&1; then ls_command="$ls_command -n" fi -# A `ls -l' line looks as follows on OS/2. +# A 'ls -l' line looks as follows on OS/2. # drwxrwx--- 0 Aug 11 2001 foo # This differs from Unix, which adds ownership information. # drwxrwx--- 2 root root 4096 Aug 11 2001 foo # # To find the date, we split the line on spaces and iterate on words # until we find a month. This cannot work with files whose owner is a -# user named `Jan', or `Feb', etc. However, it's unlikely that `/' +# user named "Jan", or "Feb", etc. However, it's unlikely that '/' # will be owned by a user whose name is a month. So we first look at # the extended ls output of the root directory to decide how many # words should be skipped to get the date. @@ -116,7 +116,7 @@ month= command= until test $month do - test $# -gt 0 || error "failed parsing \`$ls_command /' output" + test $# -gt 0 || error "failed parsing '$ls_command /' output" shift # Add another shift to the command. command="$command shift;" @@ -136,7 +136,7 @@ do esac done -test -n "$month" || error "failed parsing \`$ls_command /' output" +test -n "$month" || error "failed parsing '$ls_command /' output" # Get the extended ls output of the file or directory. set dummy x`eval "$ls_command \"\\\$save_arg1\""` diff --git a/lib/missing b/lib/missing index 1039955..6ded3a8 100755 --- a/lib/missing +++ b/lib/missing @@ -26,7 +26,7 @@ scriptversion=2011-12-22.11; # UTC # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "Try '$0 --help' for more information" exit 1 fi @@ -34,7 +34,7 @@ run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' -# In the cases where this matters, `missing' is being run in the +# In the cases where this matters, 'missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac @@ -65,7 +65,7 @@ case $1 in echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: @@ -74,21 +74,21 @@ Options: --run try to run the given command, and emulate it if it fails Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' + aclocal touch file 'aclocal.m4' + autoconf touch file 'configure' + autoheader touch file 'config.h.in' autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c + automake touch all 'Makefile.in' files + bison create 'y.tab.[ch]', if possible, from existing .[ch] + flex create 'lex.yy.c', if possible, from existing .c help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c + lex create 'lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] + yacc create 'y.tab.[ch]', if possible, from existing .[ch] -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. Send bug reports to ." exit $? @@ -100,8 +100,8 @@ Send bug reports to ." ;; -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "$0: Unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; @@ -124,7 +124,7 @@ case $1 in tar*) if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" + echo 1>&2 "ERROR: 'tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 @@ -137,7 +137,7 @@ case $1 in exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether + # running '$TOOL --version' or '$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi @@ -149,27 +149,27 @@ esac case $program in aclocal*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from +WARNING: '$1' is $msg. You should only need it if + you modified 'acinclude.m4' or '${configure_ac}'. You might want + to install the Automake and Perl packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU +WARNING: '$1' is $msg. You should only need it if + you modified '${configure_ac}'. You might want to install the + Autoconf and GNU m4 packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them +WARNING: '$1' is $msg. You should only need it if + you modified 'acconfig.h' or '${configure_ac}'. You might want + to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" @@ -186,9 +186,9 @@ WARNING: \`$1' is $msg. You should only need it if automake*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. +WARNING: '$1' is $msg. You should only need it if + you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. + You might want to install the Automake and Perl packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | @@ -197,10 +197,10 @@ WARNING: \`$1' is $msg. You should only need it if autom4te*) echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. +WARNING: '$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU + You can get '$1' as part of Autoconf from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` @@ -220,10 +220,10 @@ WARNING: \`$1' is needed, but is $msg. bison*|yacc*) echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package +WARNING: '$1' $msg. You should only need it if + you modified a '.y' file. You may need the Bison package in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." + Bison from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} @@ -250,10 +250,10 @@ WARNING: \`$1' $msg. You should only need it if lex*|flex*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package +WARNING: '$1' is $msg. You should only need it if + you modified a '.l' file. You may need the Flex package in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." + Flex from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} @@ -273,10 +273,10 @@ WARNING: \`$1' is $msg. You should only need it if help2man*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if +WARNING: '$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." + Help2man package in order for those modifications to take + effect. You can get Help2man from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -291,12 +291,12 @@ WARNING: \`$1' is $msg. You should only need it if makeinfo*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file +WARNING: '$1' is $msg. You should only need it if + you modified a '.texi' or '.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." + call might also be the consequence of using a buggy 'make' (AIX, + DU, IRIX). You might want to install the Texinfo package or + the GNU make package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -325,12 +325,12 @@ WARNING: \`$1' is $msg. You should only need it if for cmd in gnutar gtar; do ($cmd --version) > /dev/null 2>&1 || continue echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - Trying to use GNU tar (\"$cmd\") instead ..." +WARNING: I can't seem to be able to run 'tar' with the given arguments. + Trying to use GNU tar ('$cmd') instead ..." exec $cmd "$@" done echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. +WARNING: I can't seem to be able to run 'tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 @@ -338,12 +338,12 @@ WARNING: I can't seem to be able to run \`tar' with the given arguments. *) echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. +WARNING: '$1' is needed, and is $msg. You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, + proper tools for further handling them. Check the 'README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." + some other package would contain this missing '$1' program." exit 1 ;; esac diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs index 4191a45..55d537f 100755 --- a/lib/mkinstalldirs +++ b/lib/mkinstalldirs @@ -81,9 +81,9 @@ case $dirmode in echo "mkdir -p -- $*" exec mkdir -p -- "$@" else - # On NextStep and OpenStep, the `mkdir' command does not + # On NextStep and OpenStep, the 'mkdir' command does not # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already + # directories to create, and then abort because '.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version diff --git a/lib/ylwrap b/lib/ylwrap index 9253635..a8a08fd 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -32,7 +32,7 @@ scriptversion=2011-08-25.18; # UTC case "$1" in '') - echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 + echo "$0: No files given. Try '$0 --help' for more information." 1>&2 exit 1 ;; --basedir) @@ -129,7 +129,7 @@ if test $ret -eq 0; then # The directory holding the input. input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` # Quote $INPUT_DIR so we can use it in a regexp. - # FIXME: really we should care about more than `.' and `\'. + # FIXME: really we should care about more than '.' and '\'. input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'` while test "$#" -ne 0; do @@ -146,7 +146,7 @@ if test $ret -eq 0; then fi if test -f "$from"; then # If $2 is an absolute path name, then just use that, - # otherwise prepend `../'. + # otherwise prepend '../'. case "$2" in [\\/]* | ?:[\\/]*) target="$2";; *) target="../$2";; @@ -162,7 +162,7 @@ if test $ret -eq 0; then realtarget="$target" target="tmp-`echo $target | sed s/.*[\\/]//g`" fi - # Edit out `#line' or `#' directives. + # Edit out '#line' or '#' directives. # # We don't want the resulting debug information to point at # an absolute srcdir; it is better for it to just mention the -- 1.7.6.5 From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 06 Jan 2012 10:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: patch To: Paul Eggert Cc: 10443@debbugs.gnu.org Received: via spool by 10443-submit@debbugs.gnu.org id=B10443.132584426829257 (code B ref 10443); Fri, 06 Jan 2012 10:05:02 +0000 Received: (at 10443) by debbugs.gnu.org; 6 Jan 2012 10:04:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj6ex-0007bo-U4 for submit@debbugs.gnu.org; Fri, 06 Jan 2012 05:04:28 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj6eu-0007bc-6j; Fri, 06 Jan 2012 05:04:26 -0500 Received: by werb14 with SMTP id b14so1070243wer.3 for ; Fri, 06 Jan 2012 02:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vXEgs0FtJy/LLAWD3trP8CzQfhFFUdHAU7p94tR4sQw=; b=c/rEC2AFpZ4h0say0nu9r9CRPPtn8hrpUmxzqAHkIhju5XB2732Daoa3YcLGQILbo8 XRWJhYq7q0tk/4FhoyUPFXevgFPT75JaPpQZYV6i6129wbtKaADzmeQpot0wrcefKsYT rJ5OKMCghaNgF7kQYLcS4BsxyJOg0FmSt2aMA= Received: by 10.216.132.231 with SMTP id o81mr2932246wei.3.1325844047989; Fri, 06 Jan 2012 02:00:47 -0800 (PST) Received: from [87.0.103.105] (host105-103-dynamic.0-87-r.retail.telecomitalia.it. [87.0.103.105]) by mx.google.com with ESMTPS id p2sm67674909wbh.22.2012.01.06.02.00.47 (version=SSLv3 cipher=OTHER); Fri, 06 Jan 2012 02:00:47 -0800 (PST) Message-ID: <4F06C64D.6070407@gmail.com> Date: Fri, 06 Jan 2012 11:00:45 +0100 From: Stefano Lattarini MIME-Version: 1.0 References: <4F06B140.4010409@cs.ucla.edu> In-Reply-To: <4F06B140.4010409@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) tags 10443 notabug thanks Hi Paul, thanks for the patch. Sorry if I start this review with a complain, but in the future, could you please send patches that don't fix any existing bug to the automake-patches list rather than to the bug-automake list, to avoid opening spurious bug reports? Thanks. Apart from that (and assuming you have already re-run the whole testsuite with your changes applied, which you have, right?), the patch is OK, modulo two minor nits. Feel free to push to master once they have been addressed. The first nit is about the summary line of the commit message, since it doesn't follow the preferred "topic: brief description" format; so I suggest you change it from: "Quote 'like this', not `like this'." to: scripts: quote 'like this', not `like this' Thanks. On 01/06/2012 09:30 AM, Paul Eggert wrote: > This proposed patch follows up on recent changes to the GNU coding > standards. They now suggest that we should quote 'like this' or > "like this" instead of `like this'; see > . > > Gnulib is being changed accordingly, and Gnulib imports some files > directly from Automake master, so here is a proposed patch to Automake > master so that these files use the straight-up style. This patch > affects only commentary and quoting in diagnostics. > And here is the second nit. This explanation is very good and clear, and I think it should be placed in the git commit log (with obvious minor edits). E.g.: This change follows up on recent changes to the GNU coding standards. They now suggest that we should quote 'like this' or "like this" instead of `like this'; see: . Gnulib is being changed accordingly, and Gnulib imports some files directly from Automake master, so we change those files to use the straight-up style. This affects only commentary and quoting in diagnostics. OK? > From f78c4d9a1fc2705badae4ce4ebf46d5d1c8209e0 Mon Sep 17 00:00:00 2001 > From: Paul Eggert > Date: Fri, 6 Jan 2012 00:24:26 -0800 > Subject: [PATCH] Quote 'like this', not `like this'. > > --- > lib/ar-lib | 2 +- > lib/compile | 22 ++++++------ > lib/depcomp | 40 ++++++++++---------- > lib/elisp-comp | 8 ++-- > lib/gnupload | 12 +++--- > lib/install-sh | 10 +++--- > lib/mdate-sh | 12 +++--- > lib/missing | 102 ++++++++++++++++++++++++++-------------------------- > lib/mkinstalldirs | 4 +- > lib/ylwrap | 8 ++-- > 10 files changed, 110 insertions(+), 110 deletions(-) > [SNIP] Thanks, Stefano From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 06 Jan 2012 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: notabug patch To: Stefano Lattarini Cc: 10443@debbugs.gnu.org Received: via spool by 10443-submit@debbugs.gnu.org id=B10443.132587588819181 (code B ref 10443); Fri, 06 Jan 2012 18:52:02 +0000 Received: (at 10443) by debbugs.gnu.org; 6 Jan 2012 18:51:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjEsx-0004zJ-0P for submit@debbugs.gnu.org; Fri, 06 Jan 2012 13:51:27 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjEsu-0004zB-6n for 10443@debbugs.gnu.org; Fri, 06 Jan 2012 13:51:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id EAF0EA60002; Fri, 6 Jan 2012 10:47:45 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QwYh6Nf1ak5S; Fri, 6 Jan 2012 10:47:44 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E5DB039E800F; Fri, 6 Jan 2012 10:47:44 -0800 (PST) Message-ID: <4F0741D0.806@cs.ucla.edu> Date: Fri, 06 Jan 2012 10:47:44 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 References: <4F06B140.4010409@cs.ucla.edu> <4F06C64D.6070407@gmail.com> In-Reply-To: <4F06C64D.6070407@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 01/06/12 02:00, Stefano Lattarini wrote: > please send patches that don't fix any existing bug to the automake-patches Sorry, I'll try to remember that. > assuming you have already re-run the whole testsuite > with your changes applied, which you have, right?) Yes, I have now, on a Fedora 15 x86-64 host. The changes don't affect the testsuite results (the tests that fail after the change also failed before the change). The failing tests are: FAIL: depmod.tap 50 - tru64 [long VPATH] make & remake FAIL: depmod.tap 84 - tru64 [absolute VPATH] make & remake FAIL: lzma.test FAIL: tap-summary-color.test I can send more details if you like. > the patch is OK, modulo > two minor nits. Feel free to push to master once they have been addressed. Thanks, I fixed those and pushed. From unknown Tue Jun 24 15:42:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Paul Eggert Subject: bug#10443: closed (Re: bug#10443: [PATCH] Quote 'like this', not `like this'.) Message-ID: References: <4F074501.50802@gmail.com> <4F06B140.4010409@cs.ucla.edu> X-Gnu-PR-Message: they-closed 10443 X-Gnu-PR-Package: automake X-Gnu-PR-Keywords: notabug patch Reply-To: 10443@debbugs.gnu.org Date: Fri, 06 Jan 2012 19:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1325876762-23444-1" This is a multi-part message in MIME format... ------------=_1325876762-23444-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10443: [PATCH] Quote 'like this', not `like this'. which was filed against the automake package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10443@debbugs.gnu.org. --=20 10443: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10443 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1325876762-23444-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10443-done) by debbugs.gnu.org; 6 Jan 2012 19:05:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjF6Q-00065L-Qi for submit@debbugs.gnu.org; Fri, 06 Jan 2012 14:05:23 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjF6O-00065D-9Q for 10443-done@debbugs.gnu.org; Fri, 06 Jan 2012 14:05:21 -0500 Received: by eekc14 with SMTP id c14so1637726eek.3 for <10443-done@debbugs.gnu.org>; Fri, 06 Jan 2012 11:01:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=uWaWF+vBr7ogi4JLTzKiZtMrlixnxC0NSOgWU6ZPZ0o=; b=Sd8Gbcdm1EQv9bIAMuifyuxso4B0a22zQbTuV2AVCZvcyS4lzVrcP4ryGwCv1PY5is 6ZC137t5v20gvYJRjwNMDXfIy6GoLYB90nCG3Yzx71FrLfu335dUIzSoVocD92kcuGeO Wf2pkj4uKjPDZ5OphSt9S05UFMcWdZJXWa3/c= Received: by 10.14.4.71 with SMTP id 47mr2830392eei.17.1325876502404; Fri, 06 Jan 2012 11:01:42 -0800 (PST) Received: from [82.56.30.211] (host211-30-dynamic.56-82-r.retail.telecomitalia.it. [82.56.30.211]) by mx.google.com with ESMTPS id e12sm100492940eea.5.2012.01.06.11.01.41 (version=SSLv3 cipher=OTHER); Fri, 06 Jan 2012 11:01:41 -0800 (PST) Message-ID: <4F074501.50802@gmail.com> Date: Fri, 06 Jan 2012 20:01:21 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#10443: [PATCH] Quote 'like this', not `like this'. References: <4F06B140.4010409@cs.ucla.edu> <4F06C64D.6070407@gmail.com> <4F0741D0.806@cs.ucla.edu> In-Reply-To: <4F0741D0.806@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 10443-done Cc: 10443-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) On 01/06/2012 07:47 PM, Paul Eggert wrote: > On 01/06/12 02:00, Stefano Lattarini wrote: > >> please send patches that don't fix any existing bug to the automake-patches > > Sorry, I'll try to remember that. > >> assuming you have already re-run the whole testsuite >> with your changes applied, which you have, right?) > > Yes, I have now, on a Fedora 15 x86-64 host. The changes don't affect > the testsuite results (the tests that fail after the change also failed > before the change). The failing tests are: > > FAIL: depmod.tap 50 - tru64 [long VPATH] make & remake > FAIL: depmod.tap 84 - tru64 [absolute VPATH] make & remake > Yes, long standing failures; see: where it is explained why they haven't been fixed yet. > FAIL: lzma.test > FAIL: tap-summary-color.test > These are new to me. > I can send more details if you like. > Yes please, that would be much appreciated. >> the patch is OK, modulo >> two minor nits. Feel free to push to master once they have been addressed. > > Thanks, I fixed those and pushed. > Good. I'm thus closing this bug report. Thanks, Stefano ------------=_1325876762-23444-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Jan 2012 08:34:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj5GF-0005Wy-6n for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:34:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj5GC-0005Wn-8e for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:34:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj5Cc-0007NH-DS for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:31:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:33960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5Cc-0007ND-BU for submit@debbugs.gnu.org; Fri, 06 Jan 2012 03:31:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5CZ-0008Ig-JH for bug-automake@gnu.org; Fri, 06 Jan 2012 03:31:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj5CV-0007LA-Pu for bug-automake@gnu.org; Fri, 06 Jan 2012 03:31:03 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:60544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj5CV-0007Kl-7a for bug-automake@gnu.org; Fri, 06 Jan 2012 03:30:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8E6A0A60002 for ; Fri, 6 Jan 2012 00:30:57 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNPwGoIUyO8B for ; Fri, 6 Jan 2012 00:30:55 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4FCC0A60008 for ; Fri, 6 Jan 2012 00:30:55 -0800 (PST) Message-ID: <4F06B140.4010409@cs.ucla.edu> Date: Fri, 06 Jan 2012 00:30:56 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: bug-automake@gnu.org Subject: [PATCH] Quote 'like this', not `like this'. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) This proposed patch follows up on recent changes to the GNU coding standards. They now suggest that we should quote 'like this' or "like this" instead of `like this'; see . Gnulib is being changed accordingly, and Gnulib imports some files directly from Automake master, so here is a proposed patch to Automake master so that these files use the straight-up style. This patch affects only commentary and quoting in diagnostics. >From f78c4d9a1fc2705badae4ce4ebf46d5d1c8209e0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 6 Jan 2012 00:24:26 -0800 Subject: [PATCH] Quote 'like this', not `like this'. --- lib/ar-lib | 2 +- lib/compile | 22 ++++++------ lib/depcomp | 40 ++++++++++---------- lib/elisp-comp | 8 ++-- lib/gnupload | 12 +++--- lib/install-sh | 10 +++--- lib/mdate-sh | 12 +++--- lib/missing | 102 ++++++++++++++++++++++++++-------------------------- lib/mkinstalldirs | 4 +- lib/ylwrap | 8 ++-- 10 files changed, 110 insertions(+), 110 deletions(-) diff --git a/lib/ar-lib b/lib/ar-lib index 1a1dbd0..85d028f 100755 --- a/lib/ar-lib +++ b/lib/ar-lib @@ -98,7 +98,7 @@ func_at_file () case $1 in '') - func_error "no command. Try \`$0 --help' for more information." + func_error "no command. Try '$0 --help' for more information." ;; -h | --h*) cat <&2 + echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. +right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF @@ -233,8 +233,8 @@ do else case $1 in -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) @@ -261,10 +261,10 @@ do done if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a + # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also + # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi @@ -273,7 +273,7 @@ fi cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. -# Note: use `[/\\:.-]' here to ensure that we don't use the same name +# Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d diff --git a/lib/depcomp b/lib/depcomp index bd0ac08..ff4e08f 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -28,7 +28,7 @@ scriptversion=2011-12-04.11; # UTC case $1 in '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) @@ -40,8 +40,8 @@ as side-effects. Environment variables: depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. @@ -156,7 +156,7 @@ gcc) ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. +## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding @@ -164,7 +164,7 @@ gcc) ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory +## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. @@ -203,7 +203,7 @@ sgi) # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the + # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ @@ -229,7 +229,7 @@ sgi) aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the + # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` @@ -259,9 +259,9 @@ aix) test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. + # Each line is of the form 'foo.o: dependent.h'. # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. + # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" @@ -275,7 +275,7 @@ aix) ;; icc) - # Intel's C compiler understands `-MD -MF file'. However on + # Intel's C compiler understands '-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c @@ -300,10 +300,10 @@ icc) exit $stat fi rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Each line is of the form 'foo.o: dependent.h', + # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. + # '$object: dependent.h' and one to simply 'dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. @@ -344,7 +344,7 @@ hp2) done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. + # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// @@ -359,9 +359,9 @@ hp2) tru64) # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. + # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= @@ -478,7 +478,7 @@ dashmstdout) shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do @@ -498,9 +498,9 @@ dashmstdout) done test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' + # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" @@ -583,7 +583,7 @@ cpp) shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do diff --git a/lib/elisp-comp b/lib/elisp-comp index ecc6b15..4e9cccd 100755 --- a/lib/elisp-comp +++ b/lib/elisp-comp @@ -30,16 +30,16 @@ scriptversion=2010-02-06.18; # UTC case $1 in '') - echo "$0: No files. Try \`$0 --help' for more information." 1>&2 + echo "$0: No files. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: elisp-comp [--help] [--version] FILES... -This script byte-compiles all `.el' files listed as FILES using GNU -Emacs, and put the resulting `.elc' files into the current directory, -so disregarding the original directories used in `.el' arguments. +This script byte-compiles all '.el' files listed as FILES using GNU +Emacs, and put the resulting '.elc' files into the current directory, +so disregarding the original directories used in '.el' arguments. This script manages in such a way that all Emacs LISP files to be compiled are made visible between themselves, in the event diff --git a/lib/gnupload b/lib/gnupload index edb4b56..209f875 100755 --- a/lib/gnupload +++ b/lib/gnupload @@ -57,7 +57,7 @@ Options: --version output version information and exit If --symlink-regex is given without EXPR, then the link target name -is created by replacing the version information with \`-latest', e.g.: +is created by replacing the version information with '-latest', e.g.: foo-1.3.4.tar.gz -> foo-latest.tar.gz @@ -170,7 +170,7 @@ while test -n "$1"; do break ;; -*) - echo "$0: Unknown option \`$1', try \`$0 --help'" 1>&2 + echo "$0: Unknown option '$1', try '$0 --help'" 1>&2 exit 1 ;; esac @@ -219,7 +219,7 @@ else for file do if test ! -f $file; then - echo "$0: Cannot find \`$file'" 1>&2 + echo "$0: Cannot find '$file'" 1>&2 exit 1 elif test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` @@ -238,10 +238,10 @@ fi unset passphrase # Reset PATH to be sure that echo is a built-in. We will later use -# `echo $passphrase' to output the passphrase, so it is important that -# it is a built-in (third-party programs tend to appear in `ps' +# 'echo $passphrase' to output the passphrase, so it is important that +# it is a built-in (third-party programs tend to appear in 'ps' # listings with their arguments...). -# Remember this script runs with `set -e', so if echo is not built-in +# Remember this script runs with 'set -e', so if echo is not built-in # it will exit now. PATH=/empty echo -n "Enter GPG passphrase: " stty -echo diff --git a/lib/install-sh b/lib/install-sh index 64c4b3e..377bb86 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -35,7 +35,7 @@ scriptversion=2011-11-20.07; # UTC # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it +# 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written @@ -156,7 +156,7 @@ while test $# -ne 0; do -s) stripcmd=$stripprog;; -t) dst_arg=$2 - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac @@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then fi shift # arg dst_arg=$arg - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac @@ -202,7 +202,7 @@ if test $# -eq 0; then echo "$0: no input file specified." >&2 exit 1 fi - # It's OK to call `install-sh -d' without argument. + # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi @@ -240,7 +240,7 @@ fi for src do - # Protect names problematic for `test' and other utilities. + # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac diff --git a/lib/mdate-sh b/lib/mdate-sh index 60dc485..3e0858e 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -40,7 +40,7 @@ fi case $1 in '') - echo "$0: No file. Try \`$0 --help' for more information." 1>&2 + echo "$0: No file. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) @@ -76,7 +76,7 @@ LC_TIME=C export LC_TIME # GNU ls changes its time format in response to the TIME_STYLE -# variable. Since we cannot assume `unset' works, revert this +# variable. Since we cannot assume 'unset' works, revert this # variable to its documented default. if test "${TIME_STYLE+set}" = set; then TIME_STYLE=posix-long-iso @@ -96,14 +96,14 @@ if ls -n /dev/null 1>/dev/null 2>&1; then ls_command="$ls_command -n" fi -# A `ls -l' line looks as follows on OS/2. +# A 'ls -l' line looks as follows on OS/2. # drwxrwx--- 0 Aug 11 2001 foo # This differs from Unix, which adds ownership information. # drwxrwx--- 2 root root 4096 Aug 11 2001 foo # # To find the date, we split the line on spaces and iterate on words # until we find a month. This cannot work with files whose owner is a -# user named `Jan', or `Feb', etc. However, it's unlikely that `/' +# user named "Jan", or "Feb", etc. However, it's unlikely that '/' # will be owned by a user whose name is a month. So we first look at # the extended ls output of the root directory to decide how many # words should be skipped to get the date. @@ -116,7 +116,7 @@ month= command= until test $month do - test $# -gt 0 || error "failed parsing \`$ls_command /' output" + test $# -gt 0 || error "failed parsing '$ls_command /' output" shift # Add another shift to the command. command="$command shift;" @@ -136,7 +136,7 @@ do esac done -test -n "$month" || error "failed parsing \`$ls_command /' output" +test -n "$month" || error "failed parsing '$ls_command /' output" # Get the extended ls output of the file or directory. set dummy x`eval "$ls_command \"\\\$save_arg1\""` diff --git a/lib/missing b/lib/missing index 1039955..6ded3a8 100755 --- a/lib/missing +++ b/lib/missing @@ -26,7 +26,7 @@ scriptversion=2011-12-22.11; # UTC # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "Try '$0 --help' for more information" exit 1 fi @@ -34,7 +34,7 @@ run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' -# In the cases where this matters, `missing' is being run in the +# In the cases where this matters, 'missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac @@ -65,7 +65,7 @@ case $1 in echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: @@ -74,21 +74,21 @@ Options: --run try to run the given command, and emulate it if it fails Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' + aclocal touch file 'aclocal.m4' + autoconf touch file 'configure' + autoheader touch file 'config.h.in' autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c + automake touch all 'Makefile.in' files + bison create 'y.tab.[ch]', if possible, from existing .[ch] + flex create 'lex.yy.c', if possible, from existing .c help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c + lex create 'lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] + yacc create 'y.tab.[ch]', if possible, from existing .[ch] -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and -\`g' are ignored when checking the name. +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. Send bug reports to ." exit $? @@ -100,8 +100,8 @@ Send bug reports to ." ;; -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "$0: Unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; @@ -124,7 +124,7 @@ case $1 in tar*) if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" + echo 1>&2 "ERROR: 'tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 @@ -137,7 +137,7 @@ case $1 in exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether + # running '$TOOL --version' or '$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi @@ -149,27 +149,27 @@ esac case $program in aclocal*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from +WARNING: '$1' is $msg. You should only need it if + you modified 'acinclude.m4' or '${configure_ac}'. You might want + to install the Automake and Perl packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU +WARNING: '$1' is $msg. You should only need it if + you modified '${configure_ac}'. You might want to install the + Autoconf and GNU m4 packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them +WARNING: '$1' is $msg. You should only need it if + you modified 'acconfig.h' or '${configure_ac}'. You might want + to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" @@ -186,9 +186,9 @@ WARNING: \`$1' is $msg. You should only need it if automake*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. +WARNING: '$1' is $msg. You should only need it if + you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. + You might want to install the Automake and Perl packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | @@ -197,10 +197,10 @@ WARNING: \`$1' is $msg. You should only need it if autom4te*) echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. +WARNING: '$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU + You can get '$1' as part of Autoconf from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` @@ -220,10 +220,10 @@ WARNING: \`$1' is needed, but is $msg. bison*|yacc*) echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package +WARNING: '$1' $msg. You should only need it if + you modified a '.y' file. You may need the Bison package in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." + Bison from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} @@ -250,10 +250,10 @@ WARNING: \`$1' $msg. You should only need it if lex*|flex*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package +WARNING: '$1' is $msg. You should only need it if + you modified a '.l' file. You may need the Flex package in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." + Flex from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} @@ -273,10 +273,10 @@ WARNING: \`$1' is $msg. You should only need it if help2man*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if +WARNING: '$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." + Help2man package in order for those modifications to take + effect. You can get Help2man from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -291,12 +291,12 @@ WARNING: \`$1' is $msg. You should only need it if makeinfo*) echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file +WARNING: '$1' is $msg. You should only need it if + you modified a '.texi' or '.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." + call might also be the consequence of using a buggy 'make' (AIX, + DU, IRIX). You might want to install the Texinfo package or + the GNU make package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` @@ -325,12 +325,12 @@ WARNING: \`$1' is $msg. You should only need it if for cmd in gnutar gtar; do ($cmd --version) > /dev/null 2>&1 || continue echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - Trying to use GNU tar (\"$cmd\") instead ..." +WARNING: I can't seem to be able to run 'tar' with the given arguments. + Trying to use GNU tar ('$cmd') instead ..." exec $cmd "$@" done echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. +WARNING: I can't seem to be able to run 'tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 @@ -338,12 +338,12 @@ WARNING: I can't seem to be able to run \`tar' with the given arguments. *) echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. +WARNING: '$1' is needed, and is $msg. You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, + proper tools for further handling them. Check the 'README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." + some other package would contain this missing '$1' program." exit 1 ;; esac diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs index 4191a45..55d537f 100755 --- a/lib/mkinstalldirs +++ b/lib/mkinstalldirs @@ -81,9 +81,9 @@ case $dirmode in echo "mkdir -p -- $*" exec mkdir -p -- "$@" else - # On NextStep and OpenStep, the `mkdir' command does not + # On NextStep and OpenStep, the 'mkdir' command does not # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already + # directories to create, and then abort because '.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version diff --git a/lib/ylwrap b/lib/ylwrap index 9253635..a8a08fd 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -32,7 +32,7 @@ scriptversion=2011-08-25.18; # UTC case "$1" in '') - echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 + echo "$0: No files given. Try '$0 --help' for more information." 1>&2 exit 1 ;; --basedir) @@ -129,7 +129,7 @@ if test $ret -eq 0; then # The directory holding the input. input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` # Quote $INPUT_DIR so we can use it in a regexp. - # FIXME: really we should care about more than `.' and `\'. + # FIXME: really we should care about more than '.' and '\'. input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'` while test "$#" -ne 0; do @@ -146,7 +146,7 @@ if test $ret -eq 0; then fi if test -f "$from"; then # If $2 is an absolute path name, then just use that, - # otherwise prepend `../'. + # otherwise prepend '../'. case "$2" in [\\/]* | ?:[\\/]*) target="$2";; *) target="../$2";; @@ -162,7 +162,7 @@ if test $ret -eq 0; then realtarget="$target" target="tmp-`echo $target | sed s/.*[\\/]//g`" fi - # Edit out `#line' or `#' directives. + # Edit out '#line' or '#' directives. # # We don't want the resulting debug information to point at # an absolute srcdir; it is better for it to just mention the -- 1.7.6.5 ------------=_1325876762-23444-1-- From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 08 Jan 2012 10:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: notabug patch To: Paul Eggert Cc: 10443@debbugs.gnu.org Received: via spool by 10443-submit@debbugs.gnu.org id=B10443.132601732323969 (code B ref 10443); Sun, 08 Jan 2012 10:09:01 +0000 Received: (at 10443) by debbugs.gnu.org; 8 Jan 2012 10:08:43 +0000 Received: from localhost ([127.0.0.1]:49484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjpgA-0006EY-Lp for submit@debbugs.gnu.org; Sun, 08 Jan 2012 05:08:42 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]:63832) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rjpg9-0006EM-2N for 10443@debbugs.gnu.org; Sun, 08 Jan 2012 05:08:41 -0500 Received: by eekc14 with SMTP id c14so2312763eek.3 for <10443@debbugs.gnu.org>; Sun, 08 Jan 2012 02:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=3YQdGiWFE6MCrR9K18lwa+4KhkkMB9z2c5OKegE4Mk8=; b=iMVCsvk6pT5wLku7wUU8dGPV1+H8OhJKVCUqucqA9tm/U29UYfTNqVZwaTgp424ajt vVRqOJf2slkFqEEGRsuFnpsktKxoTMppPRRCvm6EPnBMXPjXwfMudW5SVt3FksQfY/n+ 32FO7yc4gbWRbhiuTbZTQYccUSG9VqgMnGRac= Received: by 10.213.15.12 with SMTP id i12mr2396639eba.107.1326017307948; Sun, 08 Jan 2012 02:08:27 -0800 (PST) Received: from [82.56.38.65] (host65-38-dynamic.56-82-r.retail.telecomitalia.it. [82.56.38.65]) by mx.google.com with ESMTPS id u53sm226668626eeu.6.2012.01.08.02.08.26 (version=SSLv3 cipher=OTHER); Sun, 08 Jan 2012 02:08:27 -0800 (PST) Message-ID: <4F096B19.50702@gmail.com> Date: Sun, 08 Jan 2012 11:08:25 +0100 From: Stefano Lattarini MIME-Version: 1.0 References: <4F06B140.4010409@cs.ucla.edu> <4F06C64D.6070407@gmail.com> <4F0741D0.806@cs.ucla.edu> In-Reply-To: <4F0741D0.806@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 01/06/2012 07:47 PM, Paul Eggert wrote: > On 01/06/12 02:00, Stefano Lattarini wrote: > >> the patch is OK, modulo >> two minor nits. Feel free to push to master once they have been addressed. > > Thanks, I fixed those and pushed. > Ouch, you have forgotten to add the detailed "* file (func): changes" entries in the git commit message. I personally don't mind much (especially for such a cosmetic patch), but this is still against what the GCS mandates. Any idea on how to fix this blunder (in the generated ChangeLog only of course, as we can't rewrite the git history)? Regards, Stefano From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 08 Jan 2012 16:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: notabug patch To: Stefano Lattarini Cc: 10443@debbugs.gnu.org Received: via spool by 10443-submit@debbugs.gnu.org id=B10443.13260386963272 (code B ref 10443); Sun, 08 Jan 2012 16:05:02 +0000 Received: (at 10443) by debbugs.gnu.org; 8 Jan 2012 16:04:56 +0000 Received: from localhost ([127.0.0.1]:50223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjvEt-0000qi-RK for submit@debbugs.gnu.org; Sun, 08 Jan 2012 11:04:56 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:49679) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjvEr-0000qV-If for 10443@debbugs.gnu.org; Sun, 08 Jan 2012 11:04:54 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4791739E800B; Sun, 8 Jan 2012 08:04:39 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9bQoe4G9u3AW; Sun, 8 Jan 2012 08:04:38 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A48EC39E8007; Sun, 8 Jan 2012 08:04:38 -0800 (PST) Message-ID: <4F09BEA2.9030405@cs.ucla.edu> Date: Sun, 08 Jan 2012 08:04:50 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 References: <4F06B140.4010409@cs.ucla.edu> <4F06C64D.6070407@gmail.com> <4F0741D0.806@cs.ucla.edu> <4F096B19.50702@gmail.com> In-Reply-To: <4F096B19.50702@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 01/08/12 02:08, Stefano Lattarini wrote: > you have forgotten to add the detailed "* file (func): changes" entries > in the git commit message. Sorry, I misunderstood to be proposing the entire commit message, not a subset of it. > I personally don't mind much (especially for such > a cosmetic patch), but this is still against what the GCS mandates. Any idea > on how to fix this blunder (in the generated ChangeLog only of course, as we > can't rewrite the git history)? Perhaps a no-change commit with a message containing the extra details? But for this particular case perhaps we can just let it slide. From unknown Tue Jun 24 15:42:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10443: [PATCH] Quote 'like this', not `like this'. Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 08 Jan 2012 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10443 X-GNU-PR-Package: automake X-GNU-PR-Keywords: notabug patch To: Paul Eggert Cc: 10443@debbugs.gnu.org Received: via spool by 10443-submit@debbugs.gnu.org id=B10443.13260421158229 (code B ref 10443); Sun, 08 Jan 2012 17:02:01 +0000 Received: (at 10443) by debbugs.gnu.org; 8 Jan 2012 17:01:55 +0000 Received: from localhost ([127.0.0.1]:50245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rjw83-00028f-2W for submit@debbugs.gnu.org; Sun, 08 Jan 2012 12:01:55 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]:53642) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rjw80-00028Q-O5 for 10443@debbugs.gnu.org; Sun, 08 Jan 2012 12:01:53 -0500 Received: by eaak10 with SMTP id k10so1782083eaa.3 for <10443@debbugs.gnu.org>; Sun, 08 Jan 2012 09:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=hOMsc1gVSVFwil6gFFySjarj+mpLDbo1hZzxGY1y8jc=; b=SXlFI8bgP6yZe/83SYOlLgTwww/fit+UIR6LwKaKWQkEzIhp+2RPxmibj+FNej3UrY gBF5HDxudwwO9Vr6ZCBl1rP1Cw6IsFJv66ppIgBoUs5iUycqkslyvjHipSCFyYDlog76 xpCEHBdFULEo0UdcEOrRA6b09aEBASlrysdeU= Received: by 10.213.9.77 with SMTP id k13mr2599103ebk.114.1326042097703; Sun, 08 Jan 2012 09:01:37 -0800 (PST) Received: from [87.5.99.141] (host141-99-dynamic.5-87-r.retail.telecomitalia.it. [87.5.99.141]) by mx.google.com with ESMTPS id q67sm217288257eea.8.2012.01.08.09.01.36 (version=SSLv3 cipher=OTHER); Sun, 08 Jan 2012 09:01:37 -0800 (PST) Message-ID: <4F09CBEF.6050104@gmail.com> Date: Sun, 08 Jan 2012 18:01:35 +0100 From: Stefano Lattarini MIME-Version: 1.0 References: <4F06B140.4010409@cs.ucla.edu> <4F06C64D.6070407@gmail.com> <4F0741D0.806@cs.ucla.edu> <4F096B19.50702@gmail.com> <4F09BEA2.9030405@cs.ucla.edu> In-Reply-To: <4F09BEA2.9030405@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 01/08/2012 05:04 PM, Paul Eggert wrote: > On 01/08/12 02:08, Stefano Lattarini wrote: >> you have forgotten to add the detailed "* file (func): changes" entries >> in the git commit message. > > Sorry, I misunderstood > > to be proposing the entire commit message, not a > subset of it. > Ouch, what a perfect example of miscommunication on my part! Sorry about that. >> I personally don't mind much (especially for such >> a cosmetic patch), but this is still against what the GCS mandates. Any idea >> on how to fix this blunder (in the generated ChangeLog only of course, as we >> can't rewrite the git history)? > > Perhaps a no-change commit with a message containing the extra details? > But for this particular case perhaps we can just let it slide. > If you say it's OK, than it's fine by me. Let's just forget about this. Thanks, Stefano