Yeah, sed ...
No matter how well I think I know sed
, it still manages to bite me more often than serve me. Everything I do know about sed
, manuals aside, I learned from other programs like ed
, and even awk
. What I'm getting to is this: my sed-fu is weak
, so don't take anything I say about it at face value. Do your own research and learn better for yourself (which you ought to do regardless).
I'll be using the --posix
option with GNU sed...