Okay, changed my vote. It's good but definitely not the best. Perhaps we all tend to overuse tools we know instead of learning to use more appropriate ones.
Btw, about 1 year ago when commenting I probably meant plain ed not sed since this is in place edit.
Discussion (7)
awk can do most of what perl can do and it does it without a lot of hollering.
and then when you need something more than what awk can do you can use something like python (or ruby).
Awk is quite good, but when I cannot get stuff done with it I usually switch to perl.
But for example given in claim description I would use sed.
So you should disagree because awk and sed are clearly very good and you only use perl in extreemis and lots of others don't even use it then.
sed/awk with a shell script works just as well.
That's simple?!
Pretty simple, yeah. Though he missed a simplifying trick by using '/' as the regex delimiter and '$^I' instead of '$INPLACE_EDIT'.
D'A
Okay, changed my vote. It's good but definitely not the best. Perhaps we all tend to overuse tools we know instead of learning to use more appropriate ones.
Btw, about 1 year ago when commenting I probably meant plain ed not sed since this is in place edit.