From 1f56a9494c2616ff6794d652f38eff0f7f95bbb9 Mon Sep 17 00:00:00 2001
From: Ruslan Ermilov <ru@FreeBSD.org>
Date: Thu, 1 Feb 2001 16:17:06 +0000
Subject: [PATCH] Make the exclamation mark (`!') a recognizable punctuation
 character.

Obtained from:	mdocNG
---
 contrib/groff/tmac/doc-common  | 1 +
 contrib/groff/tmac/doc-ditroff | 2 +-
 contrib/groff/tmac/doc-nroff   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index 221ea903e0bd..7cc8f931ced9 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -131,6 +131,7 @@
 .nr z: 3
 .nr z; 3
 .nr z? 3
+.nr z! 3
 .nr z( 4
 .nr z) 3
 .nr z[ 4
diff --git a/contrib/groff/tmac/doc-ditroff b/contrib/groff/tmac/doc-ditroff
index bbc36b35d28b..86185905009b 100644
--- a/contrib/groff/tmac/doc-ditroff
+++ b/contrib/groff/tmac/doc-ditroff
@@ -65,7 +65,7 @@
 .ds nO \fR\s10
 .ds nT \s0
 .ds pA \fC\s10
-.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ (\ )\ [\ ]\ \fR}
+.ds Pu \fR{\ .\ ,\ :\ ;\ ?\ !\ (\ )\ [\ ]\ \fR}
 .ds rA \fR\s10
 .ds rT \f(CO\s10
 .ds sH \fB\s10
diff --git a/contrib/groff/tmac/doc-nroff b/contrib/groff/tmac/doc-nroff
index 252d1665b805..d27a492e5881 100644
--- a/contrib/groff/tmac/doc-nroff
+++ b/contrib/groff/tmac/doc-nroff
@@ -62,7 +62,7 @@
 .ds nM \fB
 .ds nO \fR
 .ds pA \fI
-.ds Pu {\ .\ ,\ :\ ;\ ?\ (\ )\ [\ ]}
+.ds Pu {\ .\ ,\ :\ ;\ ?\ !\ (\ )\ [\ ]}
 .ds rA \fR
 .ds rT \fI
 .ds sH \fB