add bash_subfunctions

Change-Id: Id2d3c16d141d20c75d7ae93b464630af5632caff