automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Use here-document when printing out version in aclocal


From: Art Haas
Subject: [PATCH] Use here-document when printing out version in aclocal
Date: Tue, 16 Nov 2004 15:55:56 -0600
User-agent: Mutt/1.5.6+20040907i

Hi.

This small patch changes the version printout routine in aclocal to be
similiar to that in automake. Also, it removes the blank line that gets
printed before the version string.

Art Haas

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.115
diff -u -r1.115 aclocal.in
--- aclocal.in  9 Nov 2004 20:24:41 -0000       1.115
+++ aclocal.in  16 Nov 2004 21:52:52 -0000
@@ -580,13 +580,14 @@
 # Print version and exit.
 sub version()
 {
-  print "\
+  print <<EOF;
 aclocal (GNU $PACKAGE) $VERSION
 Written by Tom Tromey <address@hidden>
        and Alexandre Duret-Lutz <address@hidden>
 Copyright (C) 2004 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+EOF
   exit 0;
 }
 
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822




reply via email to

[Prev in Thread] Current Thread [Next in Thread]