You are not logged in.
Pages: 1
This script comes directly from johnraff. I make NO claim to it being mine, john noticed I was using a script to put man pages into text files and opening them in a text editor - come characters are messed up that way but this is MUCH better!
convert man page to pdf & show in epdfview/evince/mupdf/etc
I call it: pman
#!/bin/bash
# oneliner from commandlinefu.com
# man -t $1 | ps2pdf - - | epdfview -
# bash script from johnraff
# pman filename
# convert man page to pdf & show in epdfview/evince/mupdf
file=$(mktemp)
man -t $1 | ps2pdf - $file
evince $file
#epdfview $file
#mupdf $file
rm $file
exit
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
HEY! No kissin' in public huh!
johnraff's pretty slick with bash scripts ... I use this one a lot.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
HEY! No kissin' in public huh! yikes lol lol
Well!
Then just as
Offline
Hahahaha OK, you win!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Pages: 1