Simplify sed invocation