T2 is written in bash shell scripts mostly. The reasons are:
Minimal dependency on outside tools
Fast build system
Potentially build T2 on different Unix editions
Scripting understood by system administrators
This subsection gives some general information on hacking bash in addition to the man pages. Yes, try
man bash
which gives a load of good information and
info bash
which gives even more!