diff options
author | kolya <kolya> | 2008-10-12 18:33:14 +0000 |
---|---|---|
committer | kolya <kolya> | 2008-10-12 18:33:14 +0000 |
commit | 6186836d28944dbe3451bc154c0268ac2c90a313 (patch) | |
tree | bb02a5d1afeb7e15fe436f07e9939402d8d95692 /runoff | |
parent | 2ce40d7088932b2875739379f54f7d74fc2e374c (diff) | |
download | xv6-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-x | runoff | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |