79433215

Date: 2025-02-12 13:26:22
Score: 0.5
Natty:
Report link

An example of DOI extraction from a PDF file using pdftotext, grep and sed:

pdftotext -f 1 -l 1 my.pdf - 2>/dev/null | grep -o -a -m 1 -E '\b10\.[0-9]{3,}([.][0-9]+)*/([[:graph:]])+\b' | sed -e 's/[^[A-Za-z0-9]*$//' -e 's/fi/fi/g' -e 's/fl/fl/g'
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Philemon Phonon