[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Viber on Debian



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


Reply to: