Posts Tagged With: wikipedia

Search Wikipedia from Command Line

Tagged with: , , ,

Get the intro paragraph of any wikipedia article using this trick…

dig +short txt "<keyword>".wp.dg.cx
3 Comments »

Read Tarballed Text File

Tagged with: , , , , ,

How to read a big text file that is tarballed – without extracting the whole thing…


bzcat enwiki-20070802-pages-articles.xml.bz2 | head -10
No Comments »