Last active
August 29, 2015 14:08
-
-
Save bachue/95988960e8bf645b32ff to your computer and use it in GitHub Desktop.
Script to install Linux manpage to Mac OS X
This file contains hidden or 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/bash | |
cd `mktemp -dt tmp` | |
git clone http://git.kernel.org/pub/scm/docs/man-pages/man-pages | |
cd man-pages | |
for f in man?/**/*.?; do mv -v $f `dirname $f`/linux.`basename $f`; done | |
sudo make install | |
cd .. | |
rm -rf man-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment