From b3d32ebac62d89eaedc740af5d3592ac019b8533 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 1 Sep 2011 10:17:04 -0400
Subject: [PATCH] In SGML we only need to worry about "<", not ">";  update
 scripts.

---
 src/tools/RELEASE_CHANGES | 2 +-
 src/tools/find_gt_lt      | 6 ------
 src/tools/find_lt         | 6 ++++++
 3 files changed, 7 insertions(+), 7 deletions(-)
 delete mode 100755 src/tools/find_gt_lt
 create mode 100755 src/tools/find_lt

diff --git a/src/tools/RELEASE_CHANGES b/src/tools/RELEASE_CHANGES
index 8e54793f1df..ba4cf2c5bfc 100644
--- a/src/tools/RELEASE_CHANGES
+++ b/src/tools/RELEASE_CHANGES
@@ -44,7 +44,7 @@ For Major Releases
 	o document all new features
 	o update help output from inside the programs
 	o doc/src/sgml/ref manual pages
-	o convert any literal "<" and ">" characters, use tools/find_gt_lt
+	o convert any literal "<" and ">" characters, use tools/find_lt
 	o update the sizes specified for installation requirements
 	  (doc/src/sgml/installation.sgml, section "install-requirements")
 	o update the shared memory size requirement table
diff --git a/src/tools/find_gt_lt b/src/tools/find_gt_lt
deleted file mode 100755
index 460a9926941..00000000000
--- a/src/tools/find_gt_lt
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# src/tools/find_gt_lt
-
-grep "$@" '[^]a-z0-9"/!-]>' *.sgml ref/*.sgml
-grep "$@" '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml
diff --git a/src/tools/find_lt b/src/tools/find_lt
new file mode 100755
index 00000000000..f2f5f05a6de
--- /dev/null
+++ b/src/tools/find_lt
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# src/tools/find_lt
+# SGML is fine with ">"
+
+grep "$@" '<[^]a-z0-9"/!-]' *.sgml ref/*.sgml
-- 
GitLab