Bashcfg release 0.01

Uncategorized Add comments

Decided to publish my pre-alpha bashcfg library so here it is with a test program.
I use this to update multiple machines automatically.

What does the library do?

The libbashcfg.a library creates or parses a bash script loaded via a file or general stream
and creates an interface to manipulate the variables.

What does the application do?

This app allows you to manipulate bash variables by using actions.
Create, Append, Remove, Clear, Erase; these actions work differently depending
on the type of bash variable.

Example:

bashcfg  /etc/make.conf +USE=' kde' -USE=gnome

This example adds ‘kde‘ and removes ‘gnome‘ from the USE variable in the make.conf on Gentoo systems

bashcfg  /etc/conf.d/net aconfig_eth0='()' +config_eth0='"dhcp"'

This example creates an array net config variable and adds ‘dhcp’ also usefull on Gentoo systems.

Download:

Download Source

One Response to “Bashcfg release 0.01”

  1. tardo Says:

    This will be really handy in creating PKGBUILDs =]

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in