projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef43ac
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 21 Jan 2022 15:46:33 +0000
(16:46 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 21 Jan 2022 15:46:33 +0000
(16:46 +0100)
arxiv-rename-pdf.sh
patch
|
blob
|
history
diff --git
a/arxiv-rename-pdf.sh
b/arxiv-rename-pdf.sh
index
b165c5e
..
1cc408a
100755
(executable)
--- a/
arxiv-rename-pdf.sh
+++ b/
arxiv-rename-pdf.sh
@@
-29,7
+29,7
@@
tmp=$(mktemp /tmp/arxiv-bib.sh.XXXXXX)
while [[ "$1" ]]
do
- if [[ $1 =~ ^http ]]
+ if [[ $1 =~ ^http ]]
|| [[ $1 =~ ^[0-9\.]*$ ]]
then
id="$(echo "$1" | sed -e 's|^.*/\([0-9.]*\)$|\1|')"
wget "https://arxiv.org/pdf/${id}"