Hello,
* Paul Eggert wrote on Mon, Nov 15, 2010 at 07:30:55PM CET:
>
> One problem I forsee is that, if the script is modified in place,
> the modification can occur while the shell is reading the script.
> So one must first create the desired script as a separate file,
> and then atomically rena
Hello Bastien,
> I am trying to help bruce with error.c in order to determine the program name
> automatically on the so called "reasonable portability targets", but I could
> not find a list of this targets...
>
> Could we document it ?
It's already implicitly documented, in the chapter about
On 11/15/10 04:23, Bastien ROUCARIES wrote:
> I am trying to help bruce with error.c in order to determine the program name
> automatically on the so called "reasonable portability targets", but I could
> not find a list of this targets...
I suggest:
http://www.gnu.org/prep/standards/standards.
On 11/15/10 04:24, Pádraig Brady wrote:
> I've done it before, but I don't know how general the method is:
> http://www.pixelbeat.org/scripts/self_modify.sh
One problem I forsee is that, if the script is modified in place,
the modification can occur while the shell is reading the script.
So one mu
On 11/15/10 08:05, Eric Blake wrote:
> I like this alternative. Certainly a smaller patch than my proposal for
> guaranteeing a semi-decent sed, and still easy to follow what the sed
> script is doing.
Thanks for reviewing it; I pushed it.
On 11/13/2010 07:16 PM, Paul Eggert wrote:
> On 11/13/2010 03:18 PM, Eric Blake wrote:
>> +if test -x /usr/xpg4/bin/sed; then
>
> I'm leery about using XPG4 sed on Solaris.
> That has its own set of bugs, which in practice can
> bite just as often as the standard 'sed', maybe more
> often. On
Hi,
I am trying to help bruce with error.c in order to determine the program name
automatically on the so called "reasonable portability targets", but I could
not find a list of this targets...
Could we document it ?
Bastien
On 15/11/10 07:03, Paul Eggert wrote:
> On 11/14/2010 03:22 PM, Joel E. Denny wrote:
>> To keep things simple, could we just extend the existing bootstrap script
>> so that, once it has fetched gnulib sources and before doing anything
>> else, it updates itself and re-exec's itself if there are a
Le mardi 9 novembre 2010 13:31:03, Bastien ROUCARIES a écrit :
Bruce could you try the following program under HPUX ? It will print the
program name (i put the following code in public domain if copyrightable I do
not think it is)
Bastien
#include
#include
#include
int main()
{
stru