Skip to content

Instantly share code, notes, and snippets.

@NickAger
Created December 19, 2019 09:04
Show Gist options
  • Save NickAger/acc45e78f5514f727215024e413d3d93 to your computer and use it in GitHub Desktop.
Save NickAger/acc45e78f5514f727215024e413d3d93 to your computer and use it in GitHub Desktop.
# from: https://ericasadun.com/2019/11/19/taking-charge-of-those-xips/
man -t grep | open -f -a /System/Applications/Preview.app
man -t open | open -f -a /System/Applications/Preview.app
# The -t flag tells man to use the Groff typesetter to format the page to postscript. This presents as a PDF in Preview. (Specifically, it uses /usr/bin/groff -Tps -mandoc -c if that kind of detail intrigues you.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment