while test 01 cmd a if test 02 cmd b fi cmd c done