On Tue, Jan 28, 2014 at 12:18:56PM +1100, Scott Ferguson wrote:
> 
> and if it exists, scrape the page for the license e.g.:-
> $ curl -s http://en.wikipedia.org/wiki/Viber|html2text|grep License|head -n1

That will pick up bad grammar, maybe better is:
curl -s http://en.wikipedia.org/wiki/Viber|html2text|grepLicen\[sc\]e|head -n1

Licence - is the noun
License - is the verb

Just wondering why without sending it through html2text it returns:
<th scope="row" style="text-align:left;white-space: nowrap;;"><a
href="/wiki/Software_license" title="Software license">License</a></th>


-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140128080049.GC24708@tal

Reply via email to