Re: pdfman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[CC += Branden]

Hi Michael,

[Speleology session below]
<https://lore.kernel.org/linux-man/ae31daa2-a44b-2e79-1a70-a95428b7e231@xxxxxxxxx/>

On 2021-01-06, Michael wrote:
> Hi Alex,
> 
> On 1/5/21 3:05 PM, Alejandro Colomar (man-pages) wrote:
> > Hey Michael,
> > 
> > On 1/5/21 1:00 PM, Michael Kerrisk (man-pages) wrote:
> >> function pdfman {
> >>     man -Tps -l $1 > /tmp/$(basename $1).$$.ps
> >>     ps2pdf /tmp/$(basename $1).$$.ps $1.pdf
> >>     evince $1.pdf
> >> }

I was wondering why -Tps and then ps2pdf(1) instead of directly -Tpdf.
Do you remember a reason?  We still have the function around (with my
rewrite, but we kept that ps thing), and was wondering if I could
simplify.

Cheers,
Alex

> > 
> > Would you mind adding that to a script in scripts/?
> 
> I'm not convinced it really belongs in there.
> 
> Thanks,
> 
> Michael

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux