3 ms·
> I would never want to write a python program for quick analysis of a log file when I can grep/sed/awk/sort/uniq my way to a solution. Yeah but I would wager
by umvi 7y ago
> I would never want to write a python program for quick analysis of a log file when I can grep/sed/awk/sort/uniq my way to a solution.
Yeah but I would wager very few people actually know awk. I would also wager 90+% of awk programs are pasted directly from StackOverflow.
That's why I like the idea of pawk[1] - it's like awk, except with python syntax instead of some esoteric syntax that nobody knows.
[1] https://github.com/alecthomas/pawk https://github.com/alecthomas/pawk
- zwkrt 7y agoI guarantee that more people know awk syntax than pawk!
- deleted 7y ago[deleted]