3 ms·
You just made a point why this 'replace' may actually be useful to do things instead of bothering with using something as needlessly complicated as you have ill
by PeterisP 14y ago
You just made a point why this 'replace' may actually be useful to do things instead of bothering with using something as needlessly complicated as you have illustrated sed.
It would be far quicker for me to write an one-use program in a number of languages than to find out how to do this in the sed oneliner style that you show - ergo, the sed approach has drawbacks in some use cases, and alternatives should be tried.