[PATCH v2 29/49] bash scripts: declare and assign separately