dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2830a699c32a69a417079786b3c41b0254fa5ec9
parent 5688919d937162e8a70573aeeafd166558fe1a75
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 14 Aug 2019 10:58:38 +0200

Hide url field from bibtex entries

Diffstat:
M.local/bin/getref | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/getref b/.local/bin/getref @@ -103,7 +103,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')" + result="$(echo "$result" | sed 's/\t/ /g' | grep -v '^ url' )" if [ "$nonewline" = 1 ]; then printf "\n%s" "$result" else