Update.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 24 Oct 2017 12:39:11 +0000 (14:39 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 24 Oct 2017 12:39:11 +0000 (14:39 +0200)
arxiv-bib.sh

index 3097a79..45a6b34 100755 (executable)
@@ -33,6 +33,8 @@ do
         id="$(echo "${id}" | sed -e 's|^.*/\([^\]*\)$|\1|')"
     fi
 
+    id="$(echo "${id}" | sed -e 's/.pdf$//')"
+
     curl -s > "${tmp}" "https://arxiv.org/abs/${id}"
 
     AUTHORS=""