Tag: wikipedia

Search Wikipedia from Command Line

Get the intro paragraph of any wikipedia article using this trick… dig +short txt “<keyword>”.wp.dg.cx

Read Tarballed Text File

How to read a big text file that is tarballed – without extracting the whole thing… bzcat enwiki-20070802-pages-articles.xml.bz2 | head…