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.
This commit is contained in:
Bill Fenner 1999-02-15 07:24:09 +00:00
parent 46da642360
commit c0d0c7a4f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44054

View file

@ -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