Re: tr portability

Simon Josefsson via Gnulib discussion list <[email protected]> Thu, 25 Aug 2022 18:58:20 +0200
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Bruno Haible <[email protected]> writes:

> Since we are already stating in the generic INSTALL file, since 2008:
>
>      On Solaris, don't put '/usr/ucb' early in your 'PATH'.  This
>   directory contains several dysfunctional programs; working variants of
>   these programs are available in '/usr/bin'.  So, if you need '/usr/ucb'
>   in your 'PATH', put it _after_ '/usr/bin'.
>
> your precautions above are coping with a situation that is unsupported
> anyway.

Ah thanks for the pointer

> In GNU gettext, many tests use "tr -d '\r'" since 2007 already, and no one
> ever has reported a problem with it.

But does it fail fatally when it doesn't work?  tests/parser.sh in
libtasn1 did, and we got a report about this just a year or so ago, so I
guess the problem still exists somewhere.

/Simon
signature.asc (application/pgp-signature, 255 B)
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYweqLBQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFov+UAP4hEpEthb4C+tMCkw4/0Fl2Zvgy1ygq
zdAggApWyHuXeAD/ba8ZtO/ZC1YQFuhVZmGlH94bPTZkYnrUth/7XxtoZA4=
=DZ7x
-----END PGP SIGNATURE-----