| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
# Public domain notice for all NCBI EDirect scripts is located at: |
| 4 |
# https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice |
| 5 |
|
| 6 |
xtract -mixed -set IdxDocumentSet -rec IdxDocument -pattern PubmedArticle \ |
| 7 |
-wrp IdxUid -element MedlineCitation/PMID -clr -rst -tab "" \ |
| 8 |
-group PubmedArticle -pkg IdxSearchFields \ |
| 9 |
-block ArticleTitle -reg "" -exp "Title" -wrp ERRS -test ArticleTitle \ |
| 10 |
-block Abstract -reg "" -exp "Abstract" -wrp ERRS -test AbstractText \ |
| 11 |
-block AuthorList/Author -reg "" -exp "Author Name" -wrp ERRS -test LastName \ |
| 12 |
-block AuthorList/Author -reg "" -exp "Given Name" -wrp ERRS -test ForeName \ |
| 13 |
-block AffiliationInfo -reg "" -exp "Affiliation" -wrp ERRS -test Affiliation | |
| 14 |
transmute -mixed -format |