repo: uritools action: commit revision: path_from: revision_from: 556e02cfd4fe4f208abe254f41bffcf14baed8dc: path_to: revision_to:
commit 556e02cfd4fe4f208abe254f41bffcf14baed8dc Author: epochDate: Sat Oct 1 03:51:17 2022 -0500 man-list was missing for some reason diff --git a/man-list b/man-list new file mode 100755 index 0000000000000000000000000000000000000000..6a4f3b2ee3e1f7ae132a23d5abc92f55d22c1227 --- /dev/null +++ b/man-list @@ -0,0 +1,21 @@ +#!/bin/sh -e +# differences between man-db and mandoc apropos(1) make it more +# difficult to parse + +# thanks go to opal + +length="$(apropos . \ + | sed -r -e's/ ?\(/(/' \ + | sed 's/^/man:/g' \ + | cut '-d ' -f1 \ + | tr -c ' \n' '_' \ + | sort \ + | tail -n1 \ + | wc -c)" + +apropos . \ + | sed -r -e's/ ?\(/(/' \ + | sed 's/^/man:/g' \ + | tr -s ' ' \ + | sed 's/ /\t/' \ + | spacify "${length}"
-----END OF PAGE-----