Re: Problem with aclocal macros on Solaris



On Sunday, August 05, 2001 12:26:23 -0400, Rémi Cohen-Scali <Remi Cohen-Scali COM> wrote:
+-----
| > I believe which syntax you get depends on which tr configure finds
| > first, so it should really be a runtime test.
|
| yes. This is why the syntax used should be a portable one (to avoid
| problems  when used on some other unix flavours), as all the autoconf
| stuff. If you know a  better one (more portable), this one should be used.
+--->8

But that's the problem: BSD-style tr does ranges as A-Z, System V-style does them as [A-Z], and neither correctly handles the other's style.

The most portable way is to not use ranges.

--
brandon s. allbery  [os/2][linux][solaris][freebsd]   allbery kf8nh apk net
system administrator   [JAPH][WAY too many hats]        allbery ece cmu edu
electrical and computer engineering                                   KF8NH
carnegie mellon university     [linux: proof of the million monkeys theory]





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