From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-10-31T07:55:23+09:00 Subject: [ruby-talk:23878] Re: tar reader? In article <20011030012549.8728.qmail@web13302.mail.yahoo.com>, Al Chou wrote: >--- Ned Konz wrote: >> On Monday 29 October 2001 03:55 pm, Al Chou wrote: >I'm going to translate straight from Archive::Tar to Ruby for the first pass. >I need it to work first, and I'll refactor later. I don't need to deal with >compressed tar files, which is a blessing. > >I could just do a system call to untar the archives I'm dealing with, then >delete the individual files when I've finished with them, do a `tar -tvf tarfile` and you'll get a listing of what's in the tarfile, you won't have to delete anything when you're done. >but that way I >wouldn't get to contribute to the RAA. Besides, I'd rather code something >more generally useful than a hack just to get this one task done. Have at it. Phil