Yes.
That's one of the consequences of the XY problemthe XY problem.
Users tend to name out tools which they think might solve the current problem using the current approach. I have often seen people tag a question grep, sed, awk, and anything else they imagine can be used.
In the very case you mention, OP ends up using ed
! Not grep
, ed
!
If someone is interested in grep
, they can (and should) stress that they are interested in only grep
, maybe specifying the reasons for such a choice.
"The right tool for the right job." is the default position, unless other conditions apply.