[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to access .bz2 files with lua ?
- From: Rob Kendrick <lua-l@...>
- Date: Fri, 09 May 2008 14:27:54 +0100
On Fri, 2008-05-09 at 12:35 +0000, George Petsagourakis wrote:
> Many thanks,... I'd be grateful if somebody had that lib done for lua.
>
> In any case it is ok to programmatically run a command-line program to unzip
> those files and then access them...
bzip2 only supports one file per archive. If you're only interested in
streaming the contents (ie, not seeking backwards) and you don't mind
relying on the command line tools being there, I think it's a perfectly
adequate solution to handling them. It even has the advantage of taking
advantage of multiple CPUs that way.
B.