uni-leipzig-open-access/process_json.sh
2024-01-25 14:46:53 +01:00

4 lines
199 B
Bash
Executable file

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