Re: tr portability

Simon Josefsson via "Bug reports for Bison, the GNU parser generator" <[email protected]> Thu, 25 Aug 2022 20:25:05 +0200
Newsgroups gmane.comp.parsers.bison.bugs,gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
tor 2022-08-25 klockan 19:21 +0200 skrev Bruno Haible:
> Simon Josefsson wrote:
> > > 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
> 
> It leads to a test failure, yes, because it removed all 'r's from the
> test result. But only on Solaris 10 and only when /usr/ucb comes too
> early in $PATH.

Okay -- I've reverted this usage in libtasn1 (committed just last year
-- but I cannot find the report), let's see if we get new reports.

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

iHUEABYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYwe+gQAKCRBRcisI/kdF
okH6AP9aPzDRyu2PzPAWjiyan0IoPTlcnvCJSoSejl6UMfTq5wEAqieeALgIDqeX
G98MmD1DkmGn3yqMXZrhn/j4dhv4Uwg=
=Iuww
-----END PGP SIGNATURE-----