3 ms·
pro tip: write in your favourite language and ask chatgpt/github copilot to translate it to bash/jq
by DanielHB 3y ago
pro tip: write in your favourite language and ask chatgpt/github copilot to translate it to bash/jq
- nkozyra 3y agoPro tips should make you faster, not slower ;) Carting your request over to chatgpt rather than learning the basics of jq doesn't make much sense. I basically know enough jq to traverse a document, which took a few days of muscle memory. Totally worth it. One of the best tools I've used in the last decade and I'm barely scratching the surface.
- DanielHB 3y agonot saying you shouldn't know `curl some.json | jq -r '.someField'`, but anything beyond that is overkill unless you do hardcore bash scripting all the time. My annual bash script quota is like a couple hundred lines at most so I don't really want to learn this stuff deeply.
- Ajnasz 3y agoBut if you already have it in your favorite language, why would you need to translate it to bash or jq? :)