BashDiff
Have a look at bashdiff http://freshmeat.net/projects/bashdiff/
I've complied it (I added a patch provided by William) and it works great in Puppy
It adds just about 10K to the original bash but greatly extends the power of bash scripting:
- String handling (strcat, strcpy, strlen, strcmp)
- Array handling
- XML parsing: (expat)
- error checking (try-block)
- Calculations (HP syle rpn calculator)
- GTK UI generation (Way better and cleaner than gtkdialog)
Plus many more features
Also see
BashCommandLine Command Line Index