Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2015-05-20 23:39:06 -0400
committerMike Gerwitz <mtg@gnu.org>2015-05-22 01:25:39 -0400
commit34deb2a47612da45b9766bb06d5c0c29996fb96a (patch)
tree80b95596b2bec4b6a0ed13c3fe8db84e23c43476 /tools
parent377a13a2519deed528a322247847f705585b0191 (diff)
downloadthoughts-34deb2a47612da45b9766bb06d5c0c29996fb96a.tar.gz
thoughts-34deb2a47612da45b9766bb06d5c0c29996fb96a.tar.bz2
thoughts-34deb2a47612da45b9766bb06d5c0c29996fb96a.zip
:Thought ordering on papers page
Diffstat (limited to 'tools')
-rwxr-xr-xtools/doclist4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/doclist b/tools/doclist
index d94da7f..b24843b 100755
--- a/tools/doclist
+++ b/tools/doclist
@@ -2,7 +2,7 @@
#
# Generates HTML fragment for document list
#
-# Copyright (C) 2013 Mike Gerwitz
+# Copyright (C) 2013, 2015 Mike Gerwitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ echo '<ol class="docs">'
# TODO: use hashcache abstraction via repo2html...file format could change
# TODO: would be useful to sort on subject
for c in docs/papers/thoughts/*; do
- grep "^${c##*/}" .hashcache \
+ grep "^${c##*/*_}" .hashcache \
| head -n1 \
| { read h u t && printf '<li><a href="/%s">%s</a></li>\n' "$u" "$t"; }
done