On Wed, 2003-02-05 at 10:11, Mike Noyes wrote: > On Tue, 2003-02-04 at 20:18, Chad Carr wrote: > > I am not trying to convince folks. I am not even sure that the > > technical hurdles can be overcome without perl. I am no C guru, but I > > can hold my own and would be willing to work on it if shell does not > > suffice to create the interfaces we are looking for. > > Chad, > I think your idea is the best I've read so far. If shell scripting isn't > sufficient, Lua may provide an acceptable alternative to Perl. > > ref. Chad's previous posts on this topic > http://www.mail-archive.com/leaf-devel%40lists.sourceforge.net/msg06119.html > http://www.mail-archive.com/leaf-devel%40lists.sourceforge.net/msg06133.html > http://www.mail-archive.com/leaf-devel%40lists.sourceforge.net/msg06132.html
Well, here is a kick-about for youse guys. It is just a simple shell script implementing the interface I talked about (there are some details and error checking omitted, but you will get the idea). It has the script itself (leaf-cdb) and a test config-db (cdb/) with several test keys. If you try it out, you _will_ find bugs. If we decide to use something like this system on leaf, I would recommend that we begin to set up the following directory structure: /leaf /cdb - root for config-db /bin - executables and scripts for the maintainance of leaf /trig - root of triggers /tmpl - root of templates Keep our stuff separate from the rest of the system so it is easy to find. We should also prefix all of our scripts/executables with "leaf-" to avoid name collisions and add /leaf/bin to the default path for convenience for interactive tweakers. > Lua > http://www.lua.org/ > http://directory.google.com/Top/Computers/Programming/Languages/Lua/ I will check this out and start researching the templating side ASAP. Thanks in advance for your time and code review. ------------------------------------------------------------------------ Chad Carr [EMAIL PROTECTED] ------------------------------------------------------------------------ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel