[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tr portability
From: |
Bruno Haible |
Subject: |
Re: tr portability |
Date: |
Thu, 25 Aug 2022 19:21:47 +0200 |
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