У меня есть несколько отдельных файлов bibtex, которые выглядят следующим образом:
первый файл:
@article{DBLP:journals/access/AlotaibiAASA20,
author = {Bashayer Alotaibi and
Rabeeh Ayaz Abbasi and
Muhammad Ahtisham Aslam and
Kawther Saeedi and
Dimah Alahmadi},
title = {Startup Initiative Response Analysis {(SIRA)} Framework for Analyzing
Startup Initiatives on Twitter},
journal = {{IEEE} Access},
volume = {8},
pages = {10718--10730},
year = {2020},
url = {https://doi.org/10.1109/ACCESS.2020.2965181},
doi = {10.1109/ACCESS.2020.2965181},
timestamp = {Fri, 07 Feb 2020 12:04:40 +0100},
biburl = {https://dblp.org/rec/journals/access/AlotaibiAASA20.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
второй файл:
@inproceedings{DBLP:conf/comad/MathewKG020,
author = {Binny Mathew and
Navish Kumar and
Pawan Goyal and
Animesh Mukherjee},
editor = {Rishiraj Saha Roy},
title = {Interaction dynamics between hate and counter users on Twitter},
booktitle = {CoDS-COMAD 2020: 7th {ACM} {IKDD} CoDS and 25th COMAD, Hyderabad India,
January 5-7, 2020},
pages = {116--124},
publisher = {{ACM}},
year = {2020},
url = {https://doi.org/10.1145/3371158.3371172},
doi = {10.1145/3371158.3371172},
timestamp = {Wed, 22 Jan 2020 14:37:05 +0100},
biburl = {https://dblp.org/rec/conf/comad/MathewKG020.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Как можно прочитать все они (они находятся по одному пути) и создайте новый файл, который будет просто вставкой всех их.
Пример ожидаемого вывода
@article{DBLP:journals/access/AlotaibiAASA20,
author = {Bashayer Alotaibi and
Rabeeh Ayaz Abbasi and
Muhammad Ahtisham Aslam and
Kawther Saeedi and
Dimah Alahmadi},
title = {Startup Initiative Response Analysis {(SIRA)} Framework for Analyzing
Startup Initiatives on Twitter},
journal = {{IEEE} Access},
volume = {8},
pages = {10718--10730},
year = {2020},
url = {https://doi.org/10.1109/ACCESS.2020.2965181},
doi = {10.1109/ACCESS.2020.2965181},
timestamp = {Fri, 07 Feb 2020 12:04:40 +0100},
biburl = {https://dblp.org/rec/journals/access/AlotaibiAASA20.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP:conf/comad/MathewKG020,
author = {Binny Mathew and
Navish Kumar and
Pawan Goyal and
Animesh Mukherjee},
editor = {Rishiraj Saha Roy},
title = {Interaction dynamics between hate and counter users on Twitter},
booktitle = {CoDS-COMAD 2020: 7th {ACM} {IKDD} CoDS and 25th COMAD, Hyderabad India,
January 5-7, 2020},
pages = {116--124},
publisher = {{ACM}},
year = {2020},
url = {https://doi.org/10.1145/3371158.3371172},
doi = {10.1145/3371158.3371172},
timestamp = {Wed, 22 Jan 2020 14:37:05 +0100},
biburl = {https://dblp.org/rec/conf/comad/MathewKG020.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}