Much stronger scripts, with shellcheck and () for function body
[iomenu.git] / io-man
blob722a5831dd4d0132ced6b28d1c6e9c5f48a500bc
1 # prompt a man page to open
3 man "$(
4         IFS=':'
5         find $(manpath -q) ! -type d |
6                 sed -r 's/.*\/(.*).[0-9](.gz)?$/\1/' |
7                 sort -u |
8                 iomenu
9 )"