News for hackers. Stuff that matters.
Re:Useful sed scripts and patterns by dolmen on Friday November 12, 2021 @06:27AM (#29198214)
100% agree.

This document shows practices of sed, but the author doesn't seem aware of best practices. A sed script starting with '#!/bin/bash' is a bad practice.

Re:Useful sed scripts and patterns by adrianscheff on Friday November 12, 2021 @07:34AM (#29198686)
Ha, you got me there. I remembered incorrectly that sed scripts where bad practice and one should use bash instead. I've corrected the mistake.

What other good practice suggestions do you have? (if you're comfortable answering and have the time)