Committed to Code

BILL - The Bash Improved Leveraging Library

Bill strives to be a solution for developing applications which can be run on platforms with limited resources (e.g. embedded systems) on top of the GNU Bash shell, with a focus on quality and reusability of shell code.

It does so by providing module system with its standard library, which you can leverage in your own scripts, both by using existing modules and splitting your program in reusable components.

Additionally, tools for documenting and testing modules, and serving web applications are provided as part of the package.

This project is managed by Adrian Perez de Castro.

Project Tags Tagged as unix gpl3 sh scripting shell bash

Code Analysis


News

Successful upgrade to Bash 4

Yesterday my package manager insisted in updating Bash to version 4, which was released some time ago. I was a bit worried because as this new version intruduced new features, just in casethey could cause some of my working scripts to fail miserably. The fact is that finally I decided to bump to the new [...]


Some news, including Bill 0.2 release

Time has passed since the latest time I blogged about something, and some things have happened, so I think it is a good occasion to write some words.
The first news is that I have just released Bill 0.2, which introduces the following changes:

Change license to the new GPLv3.
Modules have now a .bash suffix instead of [...]


Bash 4.0 is out!

Some of you maybe already know about the news, but GNU Bash 4.0 was released a while ago. There are some interesting good news in this release. For example, now Bash ships with support for associative arrays (hashes) out-of-the-shell. This will make some Bill modules like data/hash unneeded in the long term, as well as [...]


Bill 0.1-2 released

I have just relased version 0.1-2 of Bill, your favourite accompaniment for your shell-code meals. Albeit I have plans for an upcoming 0.2 which will break some backwards compatibility, this is a just a mainteinance release which introduces some ... [More] bugfixes. Quick summary follows:

Better test suite and fixes for the data/hash module
Fix bug which prevented serving [...] [Less]


Using boolean variables in Bash

Today I stumbled upon a weblog post by Mark Dominus on a “novel” way of using flag variables in shell code, mainly because I have been using that technique since my early days of shell programming. Let me introduce the ... [More] syntax:
the_world_is_flat=true
# ...do something interesting...
if $the_world_is_flat ; then
echo 'Be carefule not to fall off!'
fi
This [...] [Less]


Read all BILL articles…

Edit RSS feeds.