Use 'case' sh construct to shorten short commands' recognition