From 60a4a6ee11a3c9126e7b825f60b2b603ac09fe33 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 3 Nov 2021 21:01:23 +0000 Subject: doc: txt2pre: linkify a add a few more well-known things Maybe these will help folks less familiar with some of these things. --- Documentation/txt2pre | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Documentation') 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 $/; }; my ($title) = ($str =~ /\A([^\n]+)/); -- cgit v1.2.3-24-ge0c7