[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: We have OSC 8 terminal hyperlink support now
From: |
Alejandro Colomar (man-pages) |
Subject: |
Re: We have OSC 8 terminal hyperlink support now |
Date: |
Wed, 6 Oct 2021 16:03:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
On 10/6/21 3:57 PM, Alejandro Colomar (man-pages) wrote:
function pdfman()
{
if (($# == 0)); then
>&2 echo "Usage: ${FUNCNAME[0]} [man options] [[section] page
...] ...";
Oops! Since it only supports a single page, it should be:
>&2 echo "Usage: ${FUNCNAME[0]} [man options] [section] page";
return ${EX_USAGE};
fi;
local tmp="$(mktemp -t "${1##*/}.XXXXXX")";
man -Tps $@ \
| ps2pdf - - \
> ${tmp};
xdg-open ${tmp};
}
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
- We have OSC 8 terminal hyperlink support now, G. Branden Robinson, 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, John Gardner, 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, John Gardner, 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, G. Branden Robinson, 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, Alejandro Colomar (man-pages), 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, G. Branden Robinson, 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, Alejandro Colomar (man-pages), 2021/10/02
- Re: We have OSC 8 terminal hyperlink support now, G. Branden Robinson, 2021/10/06
- Re: We have OSC 8 terminal hyperlink support now, Alejandro Colomar (man-pages), 2021/10/06
- Re: We have OSC 8 terminal hyperlink support now,
Alejandro Colomar (man-pages) <=
- Re: We have OSC 8 terminal hyperlink support now, James K. Lowden, 2021/10/04
- Re: We have OSC 8 terminal hyperlink support now, G. Branden Robinson, 2021/10/06