Hacker News new | ask | show | jobs
by IggleSniggle 2114 days ago
Been using “man” for years, understand it’s section system and have made a few man pages for various utility programs I’ve made.

The man page for built-ins is never the quick reference I want, so I generally end up falling back to google for that stuff rather than try and figure out where it’s documented.

Anyway, TIL “help” is a command I can try.

I haven’t used it in awhile, but “cht.sh” is basically what I expect “man” to give me, but comprehensively, for everything, and by the program author(s).

Public repos with easily searchable source and a good README are even better tho, of course.

1 comments

I think the availability of "help" depends on what shell you're using. It's a builtin in bash.
In fish it launches a help web page if you're in a graphical session (but still has a fallback without).