summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-09-26 12:56:47 +0100
committerNick White <git@njw.me.uk>2010-09-26 12:56:47 +0100
commit75310d3fc213bdd007d5716fd3c9014ed10f283f (patch)
tree4540b9190403394c1831039e7b112c3b927e90a5
parent33d710efd825eb493459494821dda22467011973 (diff)
downloadnjw-website-75310d3fc213bdd007d5716fd3c9014ed10f283f.tar.bz2
njw-website-75310d3fc213bdd007d5716fd3c9014ed10f283f.zip
Sort academic articles by date
-rwxr-xr-xbibtotxt.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bibtotxt.sh b/bibtotxt.sh
index 6b10d38..71f16ec 100755
--- a/bibtotxt.sh
+++ b/bibtotxt.sh
@@ -19,7 +19,8 @@ WHERE {
OPTIONAL { ?a bibo:issue ?iss }.
?j dc:title ?jtitle;
bibo:uri ?juri.
-}"
+}
+ORDER BY DESC(?artdate)"
roqet -q -r csv -e "$q" -D /dev/stdin < $rdf | sed '/^Result/d' \
| while read r; do