This is a collection of fragments that are commonly used in bash scripts I end up writing.
The source code for ansi-color is located at http://code.google.com/p/ansi-color/. It is released under the MIT license.
The original code is located at http://ajdiaz.wordpress.com/2008/02/09/bash-ini-parser/