Month: December 2009
-
bash version 4 and associative arrays
The new builtin array variable BASH_ALIASES is a nice example for an associative array. If you do an ”echo ${BASH_ALIASES[@]}” you see all the values, if you do a “set | fgrep BASH_ALIASES” you see, to what the indexes map. Update: In December, when I got aware of the new feature, I thought, there is…
-
my 1st steps in Java: extending a JasperReport sample program using Apache Commons CLI
iReports and JasperReports (and also JasperETL and much more) are open source software, that you can find on JasperForge.org. I intended to extend jasperreports-3.6.2/demo/samples/text/TextApp.java, so that it would take “-Dname=value” style options. There was a need to make TextApp.java a little more flexible, and that was quite easily to achieve making use of getProperty calls.…