|
From: | John Kearney |
Subject: | Re: [Help-bash] Adding missing bash features for safely re-usable bash code |
Date: | Mon, 08 Apr 2013 22:11:27 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
Am 08.04.2013 18:38, schrieb Pierre
Gaston:
If there is interest I could probably contribute a starting point, my first attempt is here but thats now deprecated. https://github.com/dethrophes/Experimental-Bash-Module-System In my second gen I tried to learn from the problems I had with the first gen, I added naming conventions and cleaned up the code syntax I also removed most bash dependencies. I aim for pdksh/bash base. This isn't actually posted anywhere public yet, But I've attached some of the module files for reference. Name spacing is not something you need support if you have coding conventions. In fact it tends to cause more of a mess in a language like bash. |
ks_mod_array.sh
Description: Bourne shell script
ks_mod_console.sh
Description: Bourne shell script
ks_mod_genfuncs.sh
Description: Bourne shell script
ks_mod_hash.sh
Description: Bourne shell script
ks_mod_log.sh
Description: Bourne shell script
ks_mod_Prompt.sh
Description: Bourne shell script
ks_mod_StrFuncs.sh
Description: Bourne shell script
ks_mod_svn.sh
Description: Bourne shell script
ks_mod_Test.sh
Description: Bourne shell script
ks_mod_usr.sh
Description: Bourne shell script
ks_mod_Vt100.sh
Description: Bourne shell script
ks_mod_xml.sh
Description: Bourne shell script
[Prev in Thread] | Current Thread | [Next in Thread] |