From 0997e74e2b6bf8d6a3b9e31357e409132a8fef23 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 18 Dec 2020 20:44:48 -0500 Subject: Fix bibsort name sorting for middle names, trailing titles Correctly sorts "Kevin L. Mitchell" and "K. Zeilenga, Ed." for example. --- bin/bibsort.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/bibsort.pl b/bin/bibsort.pl index 5f0ad7ba..f87f066f 100644 --- a/bin/bibsort.pl +++ b/bin/bibsort.pl @@ -24,8 +24,8 @@ while (<>) { } sub byLast { - my ($af, $al) = split /\s/, $a, 2; - my ($bf, $bl) = split /\s/, $b, 2; + my ($af, $al) = split /\s(\S+)(,.*)?$/, $a; + my ($bf, $bl) = split /\s(\S+)(,.*)?$/, $b; $al cmp $bl || $af cmp $bf; } -- cgit 1.4.1 1'>this commit collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/termcap.diff (unfollow)
Commit message (Collapse)Author
2017-08-24Add license to C filesJune McEnroe
I feel like doing this now.
2017-08-21Add nethack to index.htmlJune McEnroe
2017-08-13Clean up unnecessary kevent initializersJune McEnroe
2017-08-08Check COLOR_PAIRS in clientJune McEnroe
2017-08-08Patch termcap of rxvt-256color as wellJune McEnroe
2017-08-08Add put modeJune McEnroe
This is what replace mode used to do.
2017-08-08Remove MADV_NOSYNCJune McEnroe
I don't think this has any benefit. It just takes longer to stop the server because it flushes all the pages then.
2017-08-08Completely retry if a send fails during a broadcastJune McEnroe
This fixes a bug where the saved next client to iterate through would also get removed. This can result in messages being sent multiple times to a client, but that will have no negative effect.
2017-08-08Reverse order of main loopJune McEnroe
2017-08-08Turn off SIGPIPE at the socket levelJune McEnroe
I imagine it's better to not generate SIGPIPE at all rather than generate and ignore.
2017-08-06Rewrite helpJune McEnroe
This code is still terrible.
2017-08-04Use $() in snapshot.shJune McEnroe
I don't know why I wrote ``.
2017-08-02Move in insert direction on ~June McEnroe
2017-08-02Preserve color on replaceJune McEnroe
2017-08-02Split tile access and modifyJune McEnroe
2017-08-01Madvise RANDOM and NOSYNCJune McEnroe
2017-07-31Fix removing clients from clientCastJune McEnroe
2017-07-31Build with debug infoJune McEnroe
2017-07-31Don't dump tiles in coreJune McEnroe
2017-07-31Use designated initializers for messagesJune McEnroe
I did not realize this syntax was so powerful.
2017-07-31Show other clients' cursorsJune McEnroe
Also unfuck removing on send failure.
2017-07-31Perform enter as two moves rather than a loopJune McEnroe
2017-07-31Track tile access countsJune McEnroe
2017-07-31Adjust move speed in clientJune McEnroe
2017-07-31Handle large movesJune McEnroe
2017-07-30Optimize builds for chrootJune McEnroe
2017-07-30Persist bright across color changesJune McEnroe
2017-07-30Add index.htmlJune McEnroe
2017-07-30Add snapshot.shJune McEnroe
2017-07-30Fix termcap patch for background colorsJune McEnroe
2017-07-30Update helpJune McEnroe
2017-07-30Fix help to track colorJune McEnroe
2017-07-30Support background colorsJune McEnroe
2017-07-30Track color only client-sideJune McEnroe
2017-07-30Add ostensible support for background colorsJune McEnroe
2017-07-30Add tile create and access timestampsJune McEnroe
2017-07-30Assert stable struct Tile field offsetsJune McEnroe
2017-07-30Add chroot.shJune McEnroe
2017-07-30Add ` commandJune McEnroe
2017-07-30Add sshd_configJune McEnroe
2017-07-30Add termcap patchJune McEnroe