summaryrefslogtreecommitdiffstats
path: root/contrib/groff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff')
-rw-r--r--contrib/groff/tmac/doc-common36
1 files changed, 19 insertions, 17 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index 39d23d9..4251a96 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -232,23 +232,25 @@
. if "\\$2"4.4" .ds oS 4.4BSD
.\}
.if "\\$1"FreeBSD" \{\
-. if "\\$2"2" .ds oS FreeBSD 2.0
-. if "\\$2"2.0" .ds oS FreeBSD 2.0
-. if "\\$2"2.0.5" .ds oS FreeBSD 2.0.5
-. if "\\$2"2.1" .ds oS FreeBSD 2.1
-. if "\\$2"2.1.5" .ds oS FreeBSD 2.1.5
-. if "\\$2"2.1.6" .ds oS FreeBSD 2.1.6
-. if "\\$2"2.1.7" .ds oS FreeBSD 2.1.7
-. if "\\$2"2.2" .ds oS FreeBSD 2.2
-. if "\\$2"2.2.1" .ds oS FreeBSD 2.2.1
-. if "\\$2"2.2.2" .ds oS FreeBSD 2.2.2
-. if "\\$2"2.2.5" .ds oS FreeBSD 2.2.5
-. if "\\$2"2.2.6" .ds oS FreeBSD 2.2.6
-. if "\\$2"2.2.7" .ds oS FreeBSD 2.2.7
-. if "\\$2"2.2.8" .ds oS FreeBSD 2.2.8
-. if "\\$2"3.0" .ds oS FreeBSD 3.0
-. if "\\$2"3.1" .ds oS FreeBSD 3.1
-. if "\\$2"4.0" .ds oS FreeBSD 4.0
+. ie "\\$2"2" .ds oS FreeBSD 2.0
+. el .ds oS FreeBSD \\$2
+. ie \\n(.$==0 \c
+. el .ie "\\$2"2" \c
+. el .ie "\\$2"2.0" \c
+. el .ie "\\$2"2.0.5" \c
+. el .ie "\\$2"2.1" \c
+. el .ie "\\$2"2.1.5" \c
+. el .ie "\\$2"2.1.6" \c
+. el .ie "\\$2"2.1.7" \c
+. el .ie "\\$2"2.2" \c
+. el .ie "\\$2"2.2.5" \c
+. el .ie "\\$2"2.2.6" \c
+. el .ie "\\$2"2.2.7" \c
+. el .ie "\\$2"2.2.8" \c
+. el .ie "\\$2"3.0" \c
+. el .ie "\\$2"3.1" \c
+. el .ie "\\$2"4.0" \c
+. el .tm Unknown FreeBSD version ``\\$2'' at line \\n(c.
.\}
.if "\\*(oS"Null" .ds oS \0\\$1
.if "\\*(aa"Non-Null" .as oS \0\\$2
OpenPOWER on IntegriCloud