bug-gnulib
[Top][All Lists]
Advanced

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

Re: improve "posix-modules --version"


From: Bruno Haible
Subject: Re: improve "posix-modules --version"
Date: Fri, 26 Sep 2008 23:57:42 +0200
User-agent: KMail/1.5.4

Hi Eric,

> > ! gnulib-tool (GNU $package $date)$version
> 
> Oops - some over-active copy-n-paste.

Oh, indeed :-)

> And this falls foul of autoconf's advice:
> http://www.gnu.org/software/autoconf/manual/autoconf.html#Shell-Functions
> | Inside a function, IRIX sh sets `$0' to the function name. 

Confirmed with IRIX 6.5 /bin/sh.

> OK to check in this followup?

Thanks for cleaning up all this. I would like if you could mention the newly
added implicit parameter 'progname' in comments for all functions which need
it, directly or indirectly:

# Input:
# - progname        name of this program

It is not possible to maintain a shell script with dozens of functions
without keeping track of which function uses which variable and which has
side effects on which variables.

Bruno





reply via email to

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