tSuppress both 'url' and 'month' fields from bibtex entries - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
HTML git clone git://src.adamsgaard.dk/scholarref
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1b8f7c07bb8fc74a5478012a792ad90b245891a0
DIR parent 4bc5baa7feb7ad8b191cb069fcc6edb287ec05bd
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
DIR 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" | grep -v '^\turl' )"
+ result="$(echo "$result" | grep -v 'url = \|month = ' )"
if [ "$nonewline" = 1 ]; then
printf "\n%s" "$result"
else