4 ms·
I was never able to properly parse large man pages, I'm so happy that llms can now prepare half a usable command without spending an hour reading a time without
by halapro 7mo ago
I was never able to properly parse large man pages, I'm so happy that llms can now prepare half a usable command without spending an hour reading a time without a single usage example.
- jeremyscanvic 7mo agoWhat I usually do when I have to read large man pages like bash(1) is I read them as PDFs: man -Tpdf bash | zathura - Replace zathura with any PDF viewer reading from stdin or just save the PDF. Hope that can be useful to someone!
- sourcegrift 7mo agomy manpager is `vim -`, can't beat that
- homebrewer 7mo agoYou probably can — by using neovim: https://wiki.archlinux.org/title/Neovim#Use_as_a_pager https://wiki.archlinux.org/title/Neovim#Use_as_a_pager https://neovim.io/doc/user/filetype/#_man https://neovim.io/doc/user/filetype/#_man I've also been running (neo)vim as a manpager. You get the same features as with vim (like easily copying text or opening referenced files/other manpages without using the mouse), but neovim also parses the page and creates a table of contents, which can be used for navigation within the page. It doesn't always work perfectly, but is usually better than nothing.
- throw-the-towel 7mo ago`tldr` is also great. It's essentially a collection of example invocations of *nix commands.
- pelotron 7mo agoTIL that what I have wanted in manpages for years exists. Thank you!
- rebane2001 7mo agotldr is so good, i wish it was a part of the os the same way manpages are just to help out newcomers