Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Improved Script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Improved Script
Authored by: romano_a on Nov 02, '03 03:58:16PM
You should replace the mentioned folders in the script with relevant folders for you

The Script


#!/bin/sh
man -t $1 > /tmp/$1_man.ps
pstopdf /tmp/$1_man.ps -o "$HOME/Documents/UNIX/Man Pages/$1.pdf"
rm /tmp/$1_man.ps
open "$HOME/Documents/UNIX/Man Pages/$1.pdf"



[ Reply to This | # ]