4 ms·
I had a script with a huge chunk of spaghetti awk and sed I wrote years ago and couldn’t remember how it worked. I pasted it into ChatGPT and asked it to explai
by Veen 4y ago
I had a script with a huge chunk of spaghetti awk and sed I wrote years ago and couldn’t remember how it worked. I pasted it into ChatGPT and asked it to explain it to me and then make some small edits that changed the output. It did a remarkably good job.
- menacingly 4y agoI hadn't even thought of having it explain my own garbage to me, that's great. For my usage patterns of sed and awk, it's not complex, but it's usually that if it comes to me using them, a series of bad and urgent things has occurred and I don't have time to grow a beard and ponder unix zen