| 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 -stops -set IdxDocumentSet -rec IdxDocument -pattern PubmedArticle \ |
| 7 |
-wrp IdxUid -element MedlineCitation/PMID -clr -rst -tab "" \ |
| 8 |
-group PubmedArticle -pkg IdxSearchFields \ |
| 9 |
-block InvestigatorList -wrp INUM -num Investigator/LastName \ |
| 10 |
-block AuthorList -wrp FNUM -num AffiliationInfo/Affiliation \ |
| 11 |
-block AffiliationInfo -wrp FLWD -pairs Affiliation | |
| 12 |
transmute -format |