3 ms·
Relevant XCKD: http://www.xkcd.com/1205 http://www.xkcd.com/1205 This is a very big issue and one I recently faced in the workplace. Needed a script to parse s
by hashhar 9y ago
Relevant XCKD: http://www.xkcd.com/1205 http://www.xkcd.com/1205
This is a very big issue and one I recently faced in the workplace. Needed a script to parse some log files to generate CSV reports for the business users. I knew jq (https://stedolan.github.io/jq/ https://stedolan.github.io/jq/) and hence was able to write less than 10 lines of jq to do it combined with some preprocessing using sed.
I then realised that NOBODY on the team knew jq apart from me and I had to rewrite it in Python which took me 4 days to do correctly and handle everything that jq did for me.