[slime-devel] Re: Sorting contributors by last name

Michael Weber michaelw+slime at foldr.org
Tue Jun 22 13:26:25 UTC 2004


* Luke Gorrie <luke at bluetail.com> [2004-06-22T15:09+0200]:
> For a better challenge how about sorting by number of ChangeLog
> entries?

Attached, but Helmut is top committer anyway :-P, and I put Eric
Marsden above as well, for lack of better idea.

> That has the advantage of handling overflow. There are 40 names
> recorded in the ChangeLog so far and we're probably going to run out
> of page space at some point :-)

Will take some time, and the list is relatively easy to break up into
pages, if texinfo cannot do it itself.


Cheers,
Michael
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /project/slime/cvsroot/slime/doc/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	16 Apr 2004 19:31:11 -0000	1.3
+++ Makefile	22 Jun 2004 13:18:40 -0000
@@ -42,10 +42,12 @@
 # Some special-case TeX-escaping of international characters.
 contributors.texi: ../ChangeLog Makefile texinfo-tabulate.awk
 	cat ../ChangeLog | \
-	grep '^[0-9]' | \
-	sed -e 's/^[^ ]* *//' -e 's/ *<.*//' | \
-	(cat; echo 'Eric Marsden') | \
-	sort -u | \
+	sed -ne '/^[0-9]/{s/^[^ ]* *//; s/ *<.*//; p;}' | \
+	sort -d | \
+	uniq -c | \
+	sort -nr| \
+	sed -e 's/^ *[0-9]\+ //;' | \
+	(echo 'Eric Marsden'; cat) | \
 	awk -f texinfo-tabulate.awk | \
 	sed -e 's/\o370/@norsko{}/g' \
 	> $@


More information about the slime-devel mailing list