Reformat sed commands to simpler one-liners