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


Click here to return to the '10.3: Easily view man pages with Preview' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Easily view man pages with Preview
Authored by: defpo on Nov 03, '03 03:49:48AM

The pdf(s) created in /tmp are not deleating. I'm using this variety:

#!/bin/bash

#man -t $1 > /tmp/$1.ps
#open /tmp/$1.ps

man -t $1 | pstopdf -i -o /tmp/$1.pdf
open /tmp/$1.pdf
sleep 60 && rm -f /tmp/$1.ps &

I've tried taking the number down to one, but they still seem to stick around. Any ideas?



[ Reply to This | # ]
10.3: Easily view man pages with Preview
Authored by: timkingman on Nov 10, '03 04:49:22PM

The last line should rm /tmp/$1.pdf, not $1.ps



[ Reply to This | # ]