lua-users home
lua-l archive

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


> Do you think it is possible to do it directly on the
> compressed file, or by pipe'ing its content with zcat for instance ?

Sure. Try
	local f=io.popen("bzcat enwiki-20140304-pages-meta-current1.xml-p000000010p000010000.bz2")
and the
	for l in f:lines() do ... end