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 script.
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
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 autom4te.
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.
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 script. Does someone already have
In message [EMAIL PROTECTED], Bruno Haible writes:
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,
Bruno Haible wrote:
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 script. Does someone