From 6186836d28944dbe3451bc154c0268ac2c90a313 Mon Sep 17 00:00:00 2001
From: kolya <kolya>
Date: Sun, 12 Oct 2008 18:33:14 +0000
Subject: [PATCH] fix: when two names only differed in case, crossrefs only
 included one of them. thanks to greg price.

---
 runoff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runoff b/runoff
index d0e11c5..8db9bcc 100755
--- a/runoff
+++ b/runoff
@@ -157,7 +157,7 @@ perl -n -e 'print if s/^([0-9]+ [a-zA-Z0-9_]+)\(.*$/\1/;' alltext |
 >s.defs
 
 # make reference list
-for i in `awk '{print $2}' defs | sort -fu`
+for i in `awk '{print $2}' defs | sort -f | uniq`
 do
 	defs=`egrep '^[0-9]+ '$i'( |$)' defs | awk '{print $1}'`
 	echo $i $defs >>s.defs
-- 
GitLab