libtool-patches
[Top][All Lists]
Advanced

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

FYI: How to use echo


From: Ralf Wildenhues
Subject: FYI: How to use echo
Date: Mon, 28 Mar 2005 11:21:48 +0200
User-agent: Mutt/1.4.1i

Hi Gary,

* Gary V. Vaughan wrote on Fri, Mar 25, 2005 at 12:35:15PM CET:
> Ralf Wildenhues wrote:
> > OK to apply (HEAD, branch-2-0)?
> 
> Yes please!

Done, but changed a bit as I forgot an X.

Thanks,
Ralf

2005-03-28  Ralf Wildenhues  <address@hidden>

        * HACKING: echo vs $ECHO.

Index: HACKING
===================================================================
RCS file: /cvsroot/libtool/libtool/HACKING,v
retrieving revision 1.12
diff -u -r1.12 HACKING
--- HACKING     1 Feb 2005 07:34:33 -0000       1.12
+++ HACKING     28 Mar 2005 09:20:16 -0000
@@ -226,7 +226,23 @@
   functions should begin indented by 4 spaces.
 
 
-8. Abstraction layers in libltdl
+8. Editing `.m4' Files
+======================
+
+* Be careful with both `echo' and `$ECHO'.  As the latter may be one of
+   echo
+   print -r
+   printf %s\n
+   $CONFIG_SHELL $0 --fallback-echo
+  it may not have more than one argument, its value may not be eval'ed
+  and the argument may not start with a `-'.  As a rule of thumb, use
+   echo ..             for literal (constant) strings without leading
+                       hyphen and no backslashes within,
+   $ECHO ".."          for strings without leading hyphen,
+   $ECHO "X.." | $Xsed otherwise.
+
+
+9. Abstraction layers in libltdl
 ================================
 
 * The libltdl API uses a layered approach to differentiate internal and
@@ -310,7 +326,7 @@
        lt__private.h
 
 
-9. Release Procedure
+10. Release Procedure
 ====================
 
 * If you are a libtool maintainer, but have not yet registered your
@@ -397,7 +413,7 @@
 
 
 
-10. Alpha release note template
+11. Alpha release note template
 ===============================
 
 To: address@hidden, address@hidden
@@ -470,7 +486,7 @@
 
 
 
-11. Full release note template
+12. Full release note template
 ==============================
 
 To: address@hidden




reply via email to

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