[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tr portability
From: |
Simon Josefsson |
Subject: |
Re: tr portability |
Date: |
Thu, 25 Aug 2022 20:25:05 +0200 |
User-agent: |
Evolution 3.38.3-1 |
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
Description: This is a digitally signed message part