[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gettextize: using functions?
From: |
Bruno Haible |
Subject: |
Re: Gettextize: using functions? |
Date: |
Tue, 23 Apr 2002 14:35:47 +0200 (CEST) |
Akim Demaille writes:
> I propose that functions be used in gettextize. It has now become a
> large shell script, and, IMHO, continuing without functions (or
> macros, if you are ready to try M4sh, the equivalent for Autoconf for
> plain shell scripts) makes it harder and harder.
I agree. I had chosen to avoid shell functions because the autoconf
2.52 manual strongly recommends so.
> Given that shell functions are *widely* available (you have to
> struggle hard to find a /bin/sh that doesn't support it)
Yes, the last time I saw such a /bin/sh was on DEC Ultrix in 1995.
Let Ultrix rest in peace.
> I'm ready to convert it either to Perl
Berk. What an obscene proposal!
> or sh with functions.
That smells better. But I think I can do that myself, in the next
weeks. Thanks for your offer anyway.
Bruno