From c0d0c7a4f8a7e588a845df7cc5458d119869f204 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Mon, 15 Feb 1999 07:24:09 +0000 Subject: [PATCH] Always define oS to be "FreeBSD $2", no matter whether or not we know the version number given as the argument to ".Os FreeBSD xxx". Output nroff warning when we see a version number that we don't know about. --- contrib/groff/tmac/doc-common | 36 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common index 39d23d98c06d..4251a9678142 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