From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 3/3] doc: txt2pre: linkify a add a few more well-known things
Date: Wed, 3 Nov 2021 21:01:23 +0000 [thread overview]
Message-ID: <20211103210123.6173-4-e@80x24.org> (raw)
In-Reply-To: <20211103210123.6173-1-e@80x24.org>
Maybe these will help folks less familiar with some of these things.
---
Documentation/txt2pre | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/Documentation/txt2pre b/Documentation/txt2pre
index def54473..04bc3b0e 100755
--- a/Documentation/txt2pre
+++ b/Documentation/txt2pre
@@ -76,9 +76,10 @@ for (qw[lei(1)
$xurls{$n} = "$n.html";
}
-for (qw[make(1) flock(2) setrlimit(2) vfork(2) tmpfs(5)]) {
+for (qw[make(1) flock(2) setrlimit(2) vfork(2) tmpfs(5) inotify(7) unix(7)
+ syslog(3)]) {
my ($n, $s) = (/([\w\-]+)\((\d)\)/);
- $xurls{$_} = "http://www.man7.org/linux/man-pages/man$s/$n.$s.html";
+ $xurls{$_} = "https://www.man7.org/linux/man-pages/man$s/$n.$s.html";
}
for (qw[git(1)
@@ -132,6 +133,7 @@ $xurls{'cgitrc(5)'} = 'https://git.zx2c4.com/cgit/tree/cgitrc.5.txt';
$xurls{'prove(1)'} = 'https://perldoc.perl.org/prove.html';
$xurls{'mbox(5)'} = 'https://manpages.debian.org/stable/mutt/mbox.5.en.html';
$xurls{'mmdf(5)'} = 'https://manpages.debian.org/stable/mutt/mmdf.5.en.html';
+$xurls{'mutt(1)'} = 'https://manpages.debian.org/stable/mutt/mutt.1.en.html';
$xurls{'torsocks(1)'} =
'https://manpages.debian.org/stable/torsocks/torsocks.1.en.html';
$xurls{'curl(1)'} = 'https://manpages.debian.org/stable/curl/curl.1.en.html';
@@ -139,6 +141,14 @@ $xurls{'copydatabase(1)'} =
'https://manpages.debian.org/stable/xapian-tools/copydatabase.1.en.html';
$xurls{'xapian-compact(1)'} =
'https://manpages.debian.org/stable/xapian-tools/xapian-compact.1.en.html';
+$xurls{'gzip(1)'} = 'https://manpages.debian.org/stable/gzip/gzip.1.en.html';
+$xurls{'chmod(1)'} =
+ 'https://manpages.debian.org/stable/coreutils/chmod.1.en.html';
+$xurls{'kqueue(2)'} =
+ 'https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2';
+$xurls{'notmuch(1)'} = 'https://notmuchmail.org/manpages/notmuch-1/';
+$xurls{'mairix(1)'} =
+ 'https://manpages.debian.org/stable/mairix/mairix.1.en.html';
my $str = do { local $/; <STDIN> };
my ($title) = ($str =~ /\A([^\n]+)/);
prev parent reply other threads:[~2021-11-03 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 21:01 [PATCH 0/3] another round of doc tweaks Eric Wong
2021-11-03 21:01 ` [PATCH 1/3] doc: add more 3rd-party refs, use Debian manpages for xapian Eric Wong
2021-11-03 21:01 ` [PATCH 2/3] doc: switch to man(1) for pod => (text|html) Eric Wong
2021-11-03 21:01 ` Eric Wong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211103210123.6173-4-e@80x24.org \
--to=e@80x24.org \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).