News for hackers. Stuff that matters.
Re:Enter a command to see help text for each arg by rzmmm on Monday May 30, 2022 @01:20PM (#31561248)
The service is pretty neat. It's probably parsing the man pages somehow to create this. I wonder if it would be possible to utilize this parsed information to create type checking tools for shell scripts... Something which checks if correct count of arguments is given for command etc.
Re:Enter a command to see help text for each arg by g_p on Monday May 30, 2022 @01:52PM (#31561621)
You can see how the parsing works in the source code (with a specific high level explanation of how this part works), as the site is an open source project.

https://github.com/idank/explainshell#how