tSuppress both 'url' and 'month' fields from bibtex entries - scholarref - tool… | |
git clone git://src.adamsgaard.dk/scholarref | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1b8f7c07bb8fc74a5478012a792ad90b245891a0 | |
parent 4bc5baa7feb7ad8b191cb069fcc6edb287ec05bd | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 15 Nov 2019 11:03:00 +0100 | |
Suppress both 'url' and 'month' fields from bibtex entries | |
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 '^\turl' )" | |
+ result="$(echo "$result" | grep -v 'url = \|month = ' )" | |
if [ "$nonewline" = 1 ]; then | |
printf "\n%s" "$result" | |
else |