Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery]libbdb (was libvariable)

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Mark Andrews <msasgl AT msa-enterprises.com>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery]libbdb (was libvariable)
  • Date: Tue, 8 Oct 2002 14:28:16 +0100

Hello Dufflebunk,

Saturday, October 5, 2002, 8:25:48 PM, you wrote:

D> I will have to take a close read on your variables lib. It would be nice
D> to have a set of functions to deal with that stuff.

I've attached the first version. If you see ways to improve it (like a
better way to handle locks), let me know.

Bash Database Library Features:

store,varlookup,linelookup & remove functions supporting colon
seperated variables in text files.

The lookups can be used for getting info from /proc but needs ".*"
wildcard on end of variable name for reasons currently unknown.

I've left my test routine in at this point so running "libbdb -t" will
produce a screen or so of output using the functions.

ToDo: Improve lock system, allow for resolving deadlocks. Test with
wider range of data - fix anything that breaks 8-)

--
Best regards,
Mark mailto:msasgl AT msa-enterprises.com

PS: If anyone mailed me yesterday and got a bounce, sorry. Technical
hitch now resolved.

Attachment: libbdb.
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page