#!/bin/sh
PN=$1
URL='http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1='$PN'.WKU.&OS=PN/'$PN'&RS=PN/'$PN
wget -q -O - $URL | grep Docid= | uniq | sed -e 's/[^=]*=//'
