lua-users home
lua-l archive

Re: How to access .bz2 files with lua ?

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


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.

AltStyle によって変換されたページ (->オリジナル) /