How to pull fields from MEDLINE the easy way
In response to this thread on FriendFeed… curl -s ‘http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=19614587&retmode=text&rettype=medline’|egrep ‘^(MH |DP )’ This will pull all the MeSH keywords and the date of publication from the article with PubMed ID 19614587. Stripping the field codes from the response is left as an exercise to the reader (but can be done trivially with a Unix [...]
Also tagged medline