bm

bibliography manager for latex
git clone git://git.ckyln.com/bm.git
Log | Files | Refs | README | LICENSE

commit 904fb66015c6e5364dd45899fa26a288dc30f18f
parent 3b3169a1a10231615ae349072bfe73e99b3e188c
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 20 Oct 2019 23:15:58 +0300

print to standard output

Diffstat:
Mbm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bm b/bm @@ -80,7 +80,7 @@ search() { curl -A "$agent" -s https://api.crossref.org/works\?query\="$QUERY" | jq ".message.items[] | select(.author | length >=1) | select(.title | length >=1) | select(.DOI | length >=1) | [.DOI, .author[].given, .author[].family, .title[]] | @csv" > $tmpfile while IFS=, read -r doi authorfirst authorlast title; do printf "DOI: $doi\nTitle: $title\nFirst Name: $authorfirst\nLast Name: $authorlast\n\n" - done <$tmpfile | $PAGER + done <$tmpfile }