tFix hiding of month field on BSD - scholarref - tools for DOI and BiBTeX refer… | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c4cec4b5e70929beeeb5789e4603793ac82724a0 | |
parent d0bae9dd4baba5e34f5a8b7b073dd407bf952d04 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 15 Nov 2019 11:48:46 +0100 | |
Fix hiding of month field on BSD | |
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_journa… | |
[ "$fullauthor" = 0 ] && result="$(echo "$result" | abbreviate_author_… | |
- result="$(echo "$result" | grep -v 'url = \|month = ' )" | |
+ result="$(echo "$result" | grep -v -e 'url = ' -e 'month = ' )" | |
if [ "$nonewline" = 1 ]; then | |
printf "\n%s" "$result" | |
else |