Introduce sed

Instead of filtering results from grep, we can also just use sed.
Installations having grep can be expected to have sed as well.