Skip to content

Instantly share code, notes, and snippets.

@JesseEisen
Last active October 9, 2015 01:03
Show Gist options
  • Save JesseEisen/863c33d92f248301c9a8 to your computer and use it in GitHub Desktop.
Save JesseEisen/863c33d92f248301c9a8 to your computer and use it in GitHub Desktop.
e.g. man -t bash | ps2pdf - bash.pdf
But sometimes ps2pdf may encounter an error, the reson is that '-' is not a filename, that's so weird. And i use the following
command to fix this error
e.g. man -t bash > temp
ps2pdf temp bash.pdf
It's temperaly way to solve this problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment