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-19-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.65-19-g6c11abd
Date: Thu, 31 Dec 2009 13:53:46 +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=6c11abd6fcb523b1c9d3d39a8fe0191761a2918b

The branch, master has been updated
       via  6c11abd6fcb523b1c9d3d39a8fe0191761a2918b (commit)
      from  57aa091236d21c1c674cb5172a8e3425bc74ed56 (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 6c11abd6fcb523b1c9d3d39a8fe0191761a2918b
Author: Bruno Haible <address@hidden>
Date:   Thu Dec 31 06:50:44 2009 -0700

    Improve documentation on Solaris tr bugs.
    
    * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
    description of NUL handling by Solaris tr.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog         |    6 ++++++
 doc/autoconf.texi |   31 +++++++++++++++++++++----------
 2 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b0a4474..0143989 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-31  Bruno Haible  <address@hidden>
+
+       Improve documentation on Solaris tr bugs.
+       * doc/autoconf.texi (Limitations of Usual Tools) <tr>: Refine
+       description of NUL handling by Solaris tr.
+
 2009-12-31  Eric Blake  <address@hidden>
 
        Another tr tweak.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 6e1356e..df4c584 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -18347,20 +18347,31 @@ add
 @end example
 
 Posix requires @command{tr} to operate on binary files.  But at least
-Solaris @command{/usr/ucb/tr} fails to handle @samp{\0} as the octal
-escape for @code{NUL}, and Solaris @command{/usr/bin/tr} silently
-discards @code{NUL} in the input prior to doing any translation.  When
-using @command{tr} to process a binary file that may contain @code{NUL}
-bytes, it is necessary to use @command{/usr/xpg4/bin/tr} instead, or
+Solaris @command{/usr/ucb/tr} and @command{/usr/bin/tr} silently discard
address@hidden in the input prior to doing any translation.  When using
address@hidden to process a binary file that may contain @code{NUL} bytes,
+it is necessary to use @command{/usr/xpg4/bin/tr} instead, or
 @command{/usr/xpg6/bin/tr} if that is available.
 
 @example
-$ @kbd{printf 'ab\0c' | /usr/ucb/tr 'a\0' '\0d' | od -An -tx1}
+$ @kbd{printf 'a\0b' | /usr/ucb/tr x x | od -An -tx1}
+ 61 62
+$ @kbd{printf 'a\0b' | /usr/bin/tr x x | od -An -tx1}
+ 61 62
+$ @kbd{printf 'a\0b' | /usr/xpg4/bin/tr x x | od -An -tx1}
+ 61 00 62
address@hidden example
+
+Solaris @command{/usr/ucb/tr} additionally fails to handle @samp{\0} as the
+octal escape for @code{NUL}.
+
address@hidden
+$ @kbd{printf 'abc' | /usr/ucb/tr 'bc' '\0d' | od -An -tx1}
  61 62 63
-$ @kbd{printf 'ab\0c' | /usr/bin/tr 'a\0' '\0d' | od -An -tx1}
- 00 62 63
-$ @kbd{printf 'ab\0c' | /usr/xpg4/bin/tr 'a\0' '\0d' | od -An -tx1}
- 00 62 64 63
+$ @kbd{printf 'abc' | /usr/bin/tr 'bc' '\0d' | od -An -tx1}
+ 61 00 64
+$ @kbd{printf 'abc' | /usr/xpg4/bin/tr 'bc' '\0d' | od -An -tx1}
+ 61 00 64
 @end example
 
 @end table


hooks/post-receive
-- 
GNU Autoconf source repository




reply via email to

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