Re:Awk As A Major Systems Programming Language, Revisited (2...
by kccqzy on Wednesday February 12, 2020 @12:32AM
(#22306084)
One-off jobs or jobs that you foresee won't be expanded.
For these jobs even an "import re" in Python is too much typing, compared to ubiquitous regular expressions in sed or awk. Awk is great at handling lines of delimited fields. Again in Python you would be writing your own boilerplate to read lines from files, splitting these lines, converting strings to numbers etc.
For these jobs even an "import re" in Python is too much typing, compared to ubiquitous regular expressions in sed or awk. Awk is great at handling lines of delimited fields. Again in Python you would be writing your own boilerplate to read lines from files, splitting these lines, converting strings to numbers etc.