3 ms·
> The best tool for the job sometimes is the tool you know best. That's like hammering in screws because you know your hammer and screwdrivers seem arcane to y
by DarkWiiPlayer 8y ago
> The best tool for the job sometimes is the tool you know best.
That's like hammering in screws because you know your hammer and screwdrivers seem arcane to you.
For ad-hoc stuff `ruby -e` is more than enough, and if you want to write a program once and use it a lot, it's worth investing the time in doing it the way it works best, which in this case, would be a (fast) language like awk that makes it easier to process line-by-line instead of reading until EOF and making the rest of the pipeline wait.