2 ms·
If I actually need to do something with an input or output before sending it to the next command, I'll switch to Python. If it's not something that can be done
by barrkel 13y ago
If I actually need to do something with an input or output before sending it to the next command, I'll switch to Python.
If it's not something that can be done trivially with sed or awk, I'll consider whether it's something that can be implemented in a generic way to be used elsewhere, in which case I'll write that specific utility, and insert it into the pipeline (with appropriate arguments). Only if it's fairly specific, or I need to package it for distribution, will I consider trying to rewrite everything in a single language script.