tAttempt to fix foreign character abbreviation outside of BSD sed - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
 (HTM) git clone git://src.adamsgaard.dk/scholarref
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 135d7c53f50e6696b5be7635a229374d2696a498
 (DIR) parent e3f9cf94787b01a839e245771cd16d99115a1271
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       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(-)
       ---
 (DIR) 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' -e '}'
        }
        
        strip_doi() {