From b7c15c31519dc44c1f691e0466badd556ffe9423 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:18:56 +0200 Subject: Adding upstream version 3.7.10. Signed-off-by: Daniel Baumann --- mantools/makemanidx | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100755 mantools/makemanidx (limited to 'mantools/makemanidx') diff --git a/mantools/makemanidx b/mantools/makemanidx new file mode 100755 index 0000000..e696fd3 --- /dev/null +++ b/mantools/makemanidx @@ -0,0 +1,97 @@ +#!/bin/sh + +cat < + + + + + +Postfix Manual Pages + + + + + + + +

Postfix +Manual Pages

+ +
+ +

Information for new Postfix users

+ +

New Postfix users should first look at the following introductory +documents. These introductions are hyperlinked to more advanced +documents and to UNIX-style manual pages. The UNIX-style manual +pages are intended for people who are already familiar with Postfix. +

+ + + +

Postfix manual page organization

+ +

Each Postfix manual page is numbered after a section of the +UNIX manual: examples are mailq(1) or access(5). Unfortunately, +there is no single universal method to organize manual pages; each +UNIX flavor appears to be different. Postfix documentation assumes +the following convention:

+ +
+ + + + + + + + + + + + + + + +
Section Topic

1 Commands
3 Library routines
5 File formats
8 Daemons
+ +
+ +EOF + +srctoman "$@" | sed 's/\\-/-/g' | awk ' + +NR == 1,/SH "*SEE ALSO"*/ { next } + +/^Other:$/ { print ul; exit } + +/^[A-Z].*:$/ { print ul "

", $0, "

\n\n
    \n\n"; ul = "
\n\n" } + +/^[a-z][-a-z0-9_]+\(/ { print "
  • ", $0, "\n" } + +' | sed 's;: $; ;' + +cat < + + +EOF -- cgit v1.2.3