tDo not expand tabs - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9127175cc592218631c6454141bf8547b9cca4af | |
parent e655a934bf785bc43e71026e2ba1ae13ef0fc363 | |
Author: Anders Damsgaard | |
Date: Wed, 25 Sep 2019 14:58:07 +0200 Do not expand tabs Diffstat: M getref | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- | |
diff --git a/getref b/getref | |
t@@ -105,7 +105,7 @@ get_citation() { result="$(echo "$result" | format_bibtex_key)" [ "$fulljournal" = 0 ] && result="$(echo "$result" | abbreviate_journal_name)" [ "$fullauthor" = 0 ] && result="$(echo "$result" | abbreviate_author_name)" - result="$(echo "$result" | sed 's/\t/ /g' | grep -v '^ url' )" + result="$(echo "$result" | grep -v '^ url' )" if [ "$nonewline" = 1 ]; then printf "\n%s" "$result" else |