summaryrefslogtreecommitdiff
path: root/runoff
diff options
context:
space:
mode:
authorkolya <kolya>2008-10-12 18:33:14 +0000
committerkolya <kolya>2008-10-12 18:33:14 +0000
commit6186836d28944dbe3451bc154c0268ac2c90a313 (patch)
treebb02a5d1afeb7e15fe436f07e9939402d8d95692 /runoff
parent2ce40d7088932b2875739379f54f7d74fc2e374c (diff)
downloadxv6-labs-6186836d28944dbe3451bc154c0268ac2c90a313.tar.gz
xv6-labs-6186836d28944dbe3451bc154c0268ac2c90a313.tar.bz2
xv6-labs-6186836d28944dbe3451bc154c0268ac2c90a313.zip
fix: when two names only differed in case, crossrefs only included one of them.
thanks to greg price.
Diffstat (limited to 'runoff')
-rwxr-xr-xrunoff2
1 files changed, 1 insertions, 1 deletions
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