bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Gettextize: using functions?


From: Tim Mooney
Subject: Re: Gettextize: using functions?
Date: 28 Apr 2002 22:10:53 GMT

In article <address@hidden>,
Paul Eggert <address@hidden> wrote:
> > From: Bruno Haible <address@hidden>
> > Date: Tue, 23 Apr 2002 14:35:47 +0200 (CEST)
> > 
> > Yes, the last time I saw such a /bin/sh was on DEC Ultrix in 1995.
> > Let Ultrix rest in peace.
> 
> Even on such a beast, the latest Autoconf should switch to /bin/sh5,
> which should have shell functions.  This is to handle LINENO.  If it
> doesn't switch, we should be able to arrange for it to switch.
> 
> All in all I think the next major Autoconf release can start to assume
> shell functions.

Akim's original comment was with regard to just gettextize, though, wasn't it?

In any case, if autoconf (or the GNU coding standards) is going to relax its
stance on shell functions, I would suggest that the documentation be very
explicit about using the older function style

        foo() {
        }

vs. the newer style supported by Korn/Bash/POSIX shells,

        function foo {
        }

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



reply via email to

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