Subject: Re: libraries of shell script functions
I just thought I should mention that Ralf Engelschall maintains GNU
shtool which is somewhat along these lines.
http://www.gnu.org/software/shtool/
I had never heard of it myself before I noticed his release this summer.
In message <[EMAIL PROTECTED]>, "James
Youngman" writes:
>On Wed, Sep 17, 2008 at 5:12 AM, Peter Seebach <[EMAIL PROTECTED]> wrote:
>
>> set -- args
>
>Hmm, I certainly have a habit of doing this instead:
>
>set x blablablablabla
>shift
>
>However, the only source file I can find that still does t
On Wed, Sep 17, 2008 at 5:12 AM, Peter Seebach <[EMAIL PROTECTED]> wrote:
> set -- args
Hmm, I certainly have a habit of doing this instead:
set x blablablablabla
shift
However, the only source file I can find that still does this was
written in 2002. My guess is that I have used a system whe
Bruno Haible wrote:
> Paolo Bonzini wrote:
>> For now, I think Peter's select function could go in m4sh. m4 is the
>> linker, then.
>
> How does one use "m4 as the linker"? Where is this documented?
You write your script in m4sh, not in pure Bourne shell. The m4sh->sh
conversion is done with au
Getaddrinfo does not assume the ENOMEM behaviour of strdup, and being
maintainer for that module, I removed the strdup dependency.
/Simon
>From 0ca0a3c52fb45689e0ba8d1063272193bf2bd1db Mon Sep 17 00:00:00 2001
From: Simon Josefsson <[EMAIL PROTECTED]>
Date: Thu, 18 Sep 2008 15:46:30 +0200
Subject
Bruno Haible <[EMAIL PROTECTED]> writes:
> Hi Simon,
>
>> Are there any platforms we care about that lack strdup?
>>
>> doc/posix-functions/strdup.texi contains:
>>
>> Portability problems fixed by Gnulib:
>> @itemize
>> @item
>> This function is missing on some old platforms.
>> @item
>> This f
Paolo Bonzini wrote:
> For now, I think Peter's select function could go in m4sh. m4 is the
> linker, then.
How does one use "m4 as the linker"? Where is this documented?
I also have some shell functions to contribute:
- func_tmpdir
- func_find_curr_installdir, func_find_prefixes (relocatabl
Hi Simon,
> Are there any platforms we care about that lack strdup?
>
> doc/posix-functions/strdup.texi contains:
>
> Portability problems fixed by Gnulib:
> @itemize
> @item
> This function is missing on some old platforms.
> @item
> This function has no prototype in @code{} on some old platfor
On Wednesday 17 September 2008 13:13:03 you wrote:
> - Fix the obvious bugs, for example, you need to cast 'char' values to
> 'unsigned char' before passing them to functions.
> - Streamline the operation: Can't you get rid of copying the two strings?
> For example, by changing verrevc
Eric Blake wrote:
> with both pieces in place, I've tested that Irix 5.3
> passes the testsuite. So here's what I'm pushing:
>
> From: Eric Blake <[EMAIL PROTECTED]>
> Date: Tue, 16 Sep 2008 09:36:24 -0600
> Subject: [PATCH] vasnprintf: support Irix 5.3
>
> * lib/vasnprintf.c (VASNPRINTF): Also
Bruno Haible wrote:
> Hi,
>
> If you want to contribute shell script functions to gnulib, we would need some
> kind of "linker" for shell scripts: A tool which combines a set of shell
> script fragments, each defining a number of functions, and a "main" script,
> into a complete, runnable shell sc
Are there any platforms we care about that lack strdup?
doc/posix-functions/strdup.texi contains:
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some old platforms.
@item
This function has no prototype in @code{} on some old platforms.
@end itemize
There are a f
Le lundi 15 septembre 2008 à 14:12 +0200, Yoann Vandoorselaere a écrit :
> Le dimanche 14 septembre 2008 à 20:46 +0200, Yoann Vandoorselaere a
> écrit :
> > Hi,
> >
> > Attached is a patch implementing the following glthread fixes:
> >
> > - Correct pthread_atfork() detection.
> >
> > - Add the
* lib/vasnprintf.c (decimal_point_char): Define this function
also when only NEED_PRINTF_INFINITE_LONG_DOUBLE is defined.
---
Hi Bruno,
Building coreutils without this change, I get link errors like these:
.../vasnprintf.c:3185: undefined reference to `decimal_point_char'
.../vasnprintf.
14 matches
Mail list logo