[Top][All Lists]

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

Re: as_echo/bs_echo still required?

From: Gary V. Vaughan
Subject: Re: as_echo/bs_echo still required?
Date: Thu, 2 Jan 2014 16:49:22 +1300

Hi Paul,

On Jan 2, 2014, at 3:45 PM, Paul Eggert <address@hidden> wrote:

> Gary V. Vaughan wrote:
>> it looks like doing so effectively deprecates Solaris 7 support
> That's fine.  Sun (now Oracle) stopped supporting Solaris 7
> in August 2008.  Even Solaris 8 is fair game now; its end of
> support was March 2012.  (Solaris 9's end of support will be
> in October of this year.)
> I wouldn't spend much time worrying about the older systems
> that lack a 'printf' command.


$ cd ~/gnu/projects/autoconf--savannah--0
$ git log | less
commit 2b59b6f8a79b8bf77e178ff4e5aa0ede433d39cf
Author: Gary V. Vaughan <address@hidden>
Date:   Mon Jan 28 10:44:45 2013 +0700

    m4sugar: factor away _AS_ECHO_PREPARE.

    "printf '%s\n' ..." has been a fine replacement for plain "echo"
    for at least 5 years (probably more like 10), even with most
    museum-piece shells.
    * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Remove.
    (_AS_SHELL_SANITIZE): Keep as_nl setting originally from
    _AS_ECHO_PREPARE here where it more properly belongs.
    (AS_ECHO, AS_ECHO_N): Use printf unconditionally.
    * doc/autoconf.texi (Limitations of Shell Builtins): Document
    preference for 'printf' over working around 'echo' bugs.
    * NEWS: Updated.
    Reported by Jim Meyering.

Apparently I already pushed the Autoconf patch I was about to write :")

I'm excising bs_echo from bootstrap now too... D'oh!

Gary V. Vaughan (gary AT gnu DOT org)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

reply via email to

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