Skip to content

Instantly share code, notes, and snippets.

@bachue
Last active August 29, 2015 14:08
Show Gist options
  • Save bachue/95988960e8bf645b32ff to your computer and use it in GitHub Desktop.
Save bachue/95988960e8bf645b32ff to your computer and use it in GitHub Desktop.
Script to install Linux manpage to Mac OS X
#/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