I was able to get `grep` out of my pipeline to `sed` by using `!d`
sed -e'/\.foo$/!d' -e's/file/blag/' ./input
Answer sourced from this forum post
I was able to get `grep` out of my pipeline to `sed` by using `!d`
sed -e'/\.foo$/!d' -e's/file/blag/' ./input
Answer sourced from this forum post