Hacker News new | ask | show | jobs
by solardev 797 days ago
IMO: These days, it's hard to see a reason for learning this stuff by rote memorization when ChatGPT is already so, so good at it. You just give it a sample few lines from your text file and tell it what you need the output as, and it'll break down every command and parameter for you, whether that's a complex regex or a bunch of piped commands.

Man pages in (in its training), results out, all expressed in natural language. Seems more useful than an old-school curriculum, TBH...

2 comments

Yup, replace learning the syntax of tools with learning how to ask ChatGPT what a command is in English. I've found sometimes it will take a few tries for it to a working answer. I don't care if its sed or awk or grep or whatever as long as I accomplish the goal of what I want to be done.
i hope you realize that there is no intelligence at work, and all that this is, is just advanced interpolation of whatever is in the model

it doesn't actually understand what you are asking it.

Even if it's a glorified autocomplete, it suits this use case perfectly. It's far better than trying to read poorly written man pages directly. It can digest documentation and parse it into natural language.

Most of these pipes / scripts are for one off jobs here and there, and there's no reason to memorize every random parameter across a bunch of them. ChatGpt is like a smart reference that's also really good at understanding English. It should probably just be built into the terminal at this point (but with a dry run for any commands).