[Top][All Lists]

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

Re: libraries of shell script functions

From: Matthew Woehlke
Subject: Re: libraries of shell script functions
Date: Wed, 17 Sep 2008 19:33:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20080723 Fedora/ Thunderbird/ Mnenhy/

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 already have such a tool?

Can I nominate 'cat'? :-)

Ok, so it's not very full-featured (doesn't validate input, doesn't check for duplicate functions, only supports static "linking"), but for simple cases, I think it would get the job done. Do we really need something more complicated at this point?

Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
  -- Unknown
(found at http://goldmark.org/jeff/stupid-disclaimers/fun.html)

reply via email to

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