uni-leipzig-open-access/process_json.sh

5 lines
199 B
Bash
Raw Permalink Normal View History

2024-01-25 13:46:53 +00:00
#! bash
jq --compact-output '{"doi":.message.DOI, "license":[.message.license.[].URL]|unique,"affiliations":[.message.author.[].affiliation.[].name]|unique}' json/* | grep -i 'leipzig' > res.jsonl