Re: bunzip?
On Sun, Jun 27, 2010 at 02:01:06PM +0000, Camaleón wrote:
> On Sun, 27 Jun 2010 15:33:55 +0200, lee wrote:
>
> > On Sun, Jun 27, 2010 at 01:15:06PM +0000, Camaleón wrote:
>
> >> Run "file myfile.bz" and put here the ouput.
> >
> >
> > -rw-r--r-- 1 lee lee 627 Dec 23 1997 rules4writers.txt.bz
>
> 1997? That looks quite old. Maybe you will need to use the old bzip
> decompressor :-?
Here's what I got: http://fi.aminet.net/util/arc/
There's the source of bzip 0.21 you can download. It even compiles on
amd_64, you only need to comment out line 2706:
Bool notABogStandardFile ( Char* name )
{
IntNative i;
struct MY_STAT statBuf;
i = MY_LSTAT ( name, &statBuf );
if (i != 0) return True;
// if (MY_S_IFREG(statBuf.st_mode)) return False;
return True;
}
Then compile with
# gcc -o bzip bzip.c -O3 -wall
and decompress your files with something like:
# cat test.bz |./bzip -d |less
Not ideal because it might not be reliable, but easy enough, and it
works so far :) I'll sure keep that source at hand now.
--
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.
Reply to: