-
-
Save richlowe/effcc1ec321bab6123d88640e56115e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
catman -M proto/root_i386/usr/share/man | |
for elt in $(sed -e 's/ - .*//' proto/root_i386/usr/share/man/whatis | tr ',' '\n' | sed -e 's/(/./' -e 's/)//'); do | |
sect=${elt##*.} | |
if [[ ! -e proto/root_i386/usr/share/man/man${sect}/${elt} ]]; then | |
print -u2 "Missing: $elt" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment