Compact sed calls in only one call