From 6132e6b801b132ffd5faf364b0da360d9986b0b3 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 24 Oct 2017 14:39:11 +0200 Subject: [PATCH 1/1] Update. --- arxiv-bib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arxiv-bib.sh b/arxiv-bib.sh index 3097a79..45a6b34 100755 --- a/arxiv-bib.sh +++ b/arxiv-bib.sh @@ -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="" -- 2.39.5