4 ms·
The problem is there are like 5 different tools that do the same "one thing" well - awk, sed, grep, cut, etc. Kind of simpler to learn one language that does l
by IshKebab 8y ago
The problem is there are like 5 different tools that do the same "one thing" well - awk, sed, grep, cut, etc.
Kind of simpler to learn one language that does lots of things well!
- mirceal 8y agoi’m going to respectfully disagree. each tool you listed (with the exception of awk) does one thing and does it extremely well. my goal is not to use a language to solve all possible variations on problems i have. my goal is to solve the problem. another interesting side effect is that a lot of times this is super compact and good enough. when it’s not you can go to a programming language
- MisterOctober 8y ago^ agree -- I've seen lots of folks [newer users mostly] turn to grep when really what they wanted was sed. It's just a matter of learning which screwdriver is for which type of screw
- faho 8y agoIsn't sed's "one thing" a superset of grep's?