[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add tr to common programs

From: Karl Berry
Subject: Re: Add tr to common programs
Date: Tue, 4 Nov 2008 17:33:19 -0600

    A bug report on the autoconf list recently reported that autoconf has been
    producing configure files for several years now with a dependence on

The config.status for texinfo uses tr in one place, as far as I can see:

      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"

Not for $as_cr as your message suggests.  Is that a recent change?
Are there other uses?

Anyway, I am surprised that your experience is that tr is more portable
than awk for this.  I've never thought that \r and the like were
portable across tr's, although I haven't made a study of it lately.  If
\r is not portable across awk's, how about \015?  It is hard to imagine
an awk that doesn't support that ...

Adding tr for the sake of this one small task seems a bit troublesome to
me, per Ralf's mail.  Not that I'm saying no, but let's discuss ...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]