tAttempt to fix foreign character abbreviation outside of BSD sed - scholarref … | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 135d7c53f50e6696b5be7635a229374d2696a498 | |
parent e3f9cf94787b01a839e245771cd16d99115a1271 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 15 Nov 2019 17:59:53 +0100 | |
Attempt to fix foreign character abbreviation outside of BSD sed | |
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-Z]\)/\1. \2/g' -e '}' | |
+ sed -e '/author = /{' -e 's/\([A-Z]\)[^[:space:]]* \([A-Z]\)/\1. \2/g'… | |
} | |
strip_doi() { |