tAllow non-ascii characters in author first names - scholarref - tools for DOI … | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e3f9cf94787b01a839e245771cd16d99115a1271 | |
parent 4d98fd2155f080ea08ee13a25de2fcd21a16f7d6 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 15 Nov 2019 17:54:17 +0100 | |
Allow non-ascii characters in author first names | |
Diffstat: | |
M getref | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/getref b/getref | |
t@@ -90,7 +90,7 @@ abbreviate_journal_name() { | |
} | |
abbreviate_author_name() { | |
- sed -e '/author = /{' -e 's/\([A-Z]\)[A-Za-z]* \([A-Z]\)/\1. \2/g' -e … | |
+ sed -e '/author = /{' -e 's/\([A-Z]\)[^ ]* \([A-Z]\)/\1. \2/g' -e '}' | |
} | |
strip_doi() { |