autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.65-71-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.65-71-gf91e8db
Date: Fri, 21 May 2010 19:52:36 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=f91e8dbe6dbd11d68e18ae664c2c7399fc34e8a4

The branch, master has been updated
       via  f91e8dbe6dbd11d68e18ae664c2c7399fc34e8a4 (commit)
      from  64f8fde40c5fa18f1b4a2ade9ce96ac7a2addff3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f91e8dbe6dbd11d68e18ae664c2c7399fc34e8a4
Author: Eric Blake <address@hidden>
Date:   Thu May 20 15:07:03 2010 -0600

    Mention another line-counting alternative.
    
    GCS lists sed but not wc as a portable app for Makefile.
    
    * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
    how to use sed to count lines.
    Suggested by Paolo Bonzini.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    7 +++++++
 doc/autoconf.texi |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fd7d068..f9b7d04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-05-20  Eric Blake  <address@hidden>
+
+       Mention another line-counting alternative.
+       * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
+       how to use sed to count lines.
+       Suggested by Paolo Bonzini.
+
 2010-05-12  Eric Blake  <address@hidden>
 
        Document the grep workaround.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index ff62eac..cbdb56b 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17830,8 +17830,8 @@ doesn't exist) of @code{grep} to @file{/dev/null}.  
Check the exit
 status of @code{grep} to determine whether it found a match.
 
 The QNX4 implementation fails to count lines with @code{grep -c '$'},
-but works with @code{grep -c '^'}.  Another alternative for counting
-lines is to use @code{wc -l}.
+but works with @code{grep -c '^'}.  Other alternatives for counting
+lines are to use @code{sed -n '$='} or @code{wc -l}.
 
 Some traditional @command{grep} implementations do not work on long
 input lines.  On AIX the default @code{grep} silently truncates long


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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