[PATCH v2 23/49] bash scripts: get rid of unnessary sed calls