You could probably make this a sed only line but it's more readable in the current way.