V
vjp2.at
I am trying to write a unix proc that will pass my search terms to
a search engine that uses post-method. I don't really understand how
post works. Below is my attempt (I manually wrapped the one line proc
into sep lines for display purposes):
medline () { SRCH=`echo $* | sed -e 's/ /+/g'`; lynx -post_data
-accept_all_cookies 'http://www.ncbi.nlm.nih.gov/htbin-post
/Entrez/query_old?form=4&title=no&term='$SRCH'&submit=Search
&field=All+++++++++++++++++++Fields&mode=Automatic&relpubdate
=No+Limit&dispmax=100+&Dopt=d';}
Much obliged in advance for any help.
- = -
Vasos-Peter John Panagiotopoulos II, Columbia'81+, Bio$trategist
BachMozart ReaganQuayle EvrytanoKastorian
http://ourworld.compuserve.com/homepages/vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Health Reform means abolishing FDR's insurance tax exemption]
[To stop SPAM, Charge net-postage] [Abolish 16th (Inc Tx) Amendment]
a search engine that uses post-method. I don't really understand how
post works. Below is my attempt (I manually wrapped the one line proc
into sep lines for display purposes):
medline () { SRCH=`echo $* | sed -e 's/ /+/g'`; lynx -post_data
-accept_all_cookies 'http://www.ncbi.nlm.nih.gov/htbin-post
/Entrez/query_old?form=4&title=no&term='$SRCH'&submit=Search
&field=All+++++++++++++++++++Fields&mode=Automatic&relpubdate
=No+Limit&dispmax=100+&Dopt=d';}
Much obliged in advance for any help.
- = -
Vasos-Peter John Panagiotopoulos II, Columbia'81+, Bio$trategist
BachMozart ReaganQuayle EvrytanoKastorian
http://ourworld.compuserve.com/homepages/vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Health Reform means abolishing FDR's insurance tax exemption]
[To stop SPAM, Charge net-postage] [Abolish 16th (Inc Tx) Amendment]