greg-js / arch-wiki-man

Search a local, updated copy of the entire Arch Wiki and open the article in `man`
GNU General Public License v3.0
143 stars 2 forks source link

How to get names of all man pages? #5

Closed FunctionalHacker closed 2 years ago

FunctionalHacker commented 5 years ago

I want to use fzf to search for man pages. Is there a way I could get a list of all pages that I could then pipe into fzf?

FunctionalHacker commented 5 years ago

For reference, this is how I do it with normal man:

man -k . | fzf | awk '{print $1}' | xargs -r man