Re: tr portability
Bruno Haible <[email protected]> Thu, 25 Aug 2022 19:21:47 +0200
| Newsgroups | gmane.comp.parsers.bison.bugs,gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <7322496.jRhZ6ZUK3Y@nimes> |
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. Bruno