mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
Update getbib
This commit is contained in:
parent
62e2856882
commit
8b4e8f59bb
@ -24,7 +24,7 @@ function process_doi {
|
||||
bibtex_entry=$(curl -s "https://api.crossref.org/works/$doi/transform/application/x-bibtex" -w "\\n" | sed '/^@[a-z]\+{[^[:space:]]\+[0-9]\{4\},/{
|
||||
s/\([A-Z]\)/\L\1/g
|
||||
s/_//g
|
||||
s/\([0-9]\{2\}\)[0-9]*/\1/g
|
||||
s/[0-9]*\([0-9]\{2\}\)/\1/g
|
||||
}')
|
||||
red_color='\033[0;31m'
|
||||
reset_color='\033[0m'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user