m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/doc/m4.texinfo,v


From: Eric Blake
Subject: Changes to m4/doc/m4.texinfo,v
Date: Wed, 05 Jul 2006 20:54:16 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/07/05 20:54:15

Index: doc/m4.texinfo
===================================================================
RCS file: /sources/m4/m4/doc/m4.texinfo,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- doc/m4.texinfo      7 Jul 2005 11:14:21 -0000       1.22
+++ doc/m4.texinfo      5 Jul 2006 20:54:15 -0000       1.23
@@ -22,8 +22,8 @@
 @ifinfo
 This file documents GNU @code{m4} @value{VERSION}
 
-Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000, 2001, 
2004, 2005
-Free Software Foundation, Inc.
+Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000,
+2001, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.1
@@ -49,7 +49,8 @@
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000, 
2001, 2004, 2005 Free Software Foundation, Inc.
+Copyright @copyright{} 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999,
+2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.1
@@ -3489,6 +3490,19 @@
 The builtin macro @code{syscmd} is recognized only when given arguments.
 @end deffn
 
address@hidden
+define(`foo', `FOO')
address@hidden
+syscmd(`echo foo')
address@hidden
address@hidden
address@hidden example
+
+Note how the expansion of @code{syscmd} keeps the trailing newline of
+the command, as well as using the newline that appeared after the macro.
+
+The builtin macro @code{syscmd} is recognized only when given arguments.
+
 @node Esyscmd
 @section Reading the output of commands
 
@@ -3504,21 +3518,21 @@
 is not a part of the expansion: it will appear along with the error
 output of @code{m4}.
 
-The builtin macro @code{esyscmd} is recognized only when given
-arguments.
address@hidden deffn
-
-For instance:
 
 @example
-define(`authors', `esyscmd(`m4 --version | grep Written')')
+define(`foo', `FOO')
 @result{}
-authors
address@hidden by Rene' Seindal and Gary V. Vaughan.
+esyscmd(`echo foo')
address@hidden
 @result{}
 @end example
 
-Note how the expansion of @code{esyscmd} has a trailing newline.
+Note how the expansion of @code{esyscmd} keeps the trailing newline of
+the command, as well as using the newline that appeared after the macro.
+
+The builtin macro @code{esyscmd} is recognized only when given
+arguments.
address@hidden deffn
 
 @node Sysval
 @section Exit codes




reply via email to

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