bug-gnulib
[Top][All Lists]
Advanced

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

Re: tr portability


From: Ralf Wildenhues
Subject: Re: tr portability
Date: Sat, 26 Apr 2008 14:16:03 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Bruno Haible wrote on Sat, Apr 26, 2008 at 02:06:17PM CEST:
> Ralf Wildenhues wrote:
> > > > I hear that there really do exist systems in actual use
> > > > on which tr still does not honor backslash-escapes like \r and \n.
> > > 
> > > Which platforms, please?
> > 
> > Solaris 10 /usr/ucb/tr.  Not likely to be early in PATH, but hey, people
> > do all kinds of weird things to their path.  ;-)
> 
> This is not documented in the autoconf manual, section "Limitations of
> Usual Tools". But I can confirm the fact:

I think the usual response is: don't put /usr/ucb early in $PATH.
It hurts for all kinds of reasons.  Listing this fact is much more
helpful than listing all the deficiencies of the tools in /usr/ucb,
some of which are segfaults with weird inputs or so.

Maybe the Autoconf manual should contain: please don't put /usr/ucb
nor '.' in $PATH, and if you must, put it as late as possible.
Dunno, I don't have a strong opinion on all of this.

Cheers,
Ralf




reply via email to

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