[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.64-17-g
From: |
Ralf Wildenhues |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.64-17-g2d50a0e |
Date: |
Tue, 18 Aug 2009 20:18:23 +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=2d50a0ed98d3789015d63fc127d8a95af65cf8e8
The branch, master has been updated
via 2d50a0ed98d3789015d63fc127d8a95af65cf8e8 (commit)
from 4cdf58d4f04e4fb69f1520279b86dfbee64fbea1 (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 2d50a0ed98d3789015d63fc127d8a95af65cf8e8
Author: Bruno Haible <address@hidden>
Date: Tue Aug 18 22:17:51 2009 +0200
Document Solaris tr range and NUL limitations.
* doc/autoconf.texi (Limitations of Usual Tools): Mention that
Solaris /usr/bin/tr does not support ranges, nor the '\0' octal
escape.
Signed-off-by: Ralf Wildenhues <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
doc/autoconf.texi | 20 ++++++++++++++++----
2 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0c31723..1242ca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-08-18 Bruno Haible <address@hidden>
+
+ Document Solaris tr range and NUL limitations.
+ * doc/autoconf.texi (Limitations of Usual Tools): Mention that
+ Solaris /usr/bin/tr does not support ranges, nor the '\0' octal
+ escape.
+
2009-08-14 Eric Blake <address@hidden>
Simplify version control metadata.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 6bac0c3..e997962 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17802,11 +17802,23 @@ $ @address@hidden echo moon; echo light; @} |
/usr/ucb/tr -d '\012' ; echo}
moonlight
@end example
+Not all versions of @command{tr} recognize ranges of characters: at
+least Solaris @command{/usr/bin/tr} still fails to do so. But you can
+use @command{/usr/xpg4/bin/tr} instead.
+
address@hidden
+$ @kbd{echo "Hazy Fantazy" | LC_ALL=C /usr/bin/tr a-z A-Z}
+HAZy FAntAZy
+$ @kbd{echo "Hazy Fantazy" | LC_ALL=C /usr/xpg4/bin/tr a-z A-Z}
+HAZY FANTAZY
address@hidden example
+
Posix requires @command{tr} to operate on binary files. But at least
-Solaris @command{/usr/ucb/tr} still fails to handle @samp{\0} as the
-octal escape for @code{NUL}. On Solaris, when using @command{tr} to
-neutralize a binary file by converting @code{NUL} to a different
-character, it is necessary to use @command{/usr/xpg4/bin/tr} instead.
+Solaris @command{/usr/ucb/tr} and @command{/usr/bin/tr} still fail to
+handle @samp{\0} as the octal escape for @code{NUL}. On Solaris, when
+using @command{tr} to neutralize a binary file by converting @code{NUL}
+to a different character, it is necessary to use
address@hidden/usr/xpg4/bin/tr} instead.
@example
$ @kbd{printf 'a\0b\n' | /usr/ucb/tr '\0' '~' | wc -c}
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.64-17-g2d50a0e,
Ralf Wildenhues <=