Simple HW on bash if and for added.