> What percentage of the total html flying around out there do you think is
> highly compressible data? I really dont know but I bet alot of it is.
type-a:26 $ tar cf - . | ( exec 4>&1 ; ( multitee 0:1,5 | gzip -c | wc; sleep 2 ) 5>&1 1>&4 | wc)
198606 1152004 52143655 # compressed (35% of original size)
2373068 11781683 147179520 # non-compressed
of course, it's not weighted for frequency of access. The root home page by
itself (HTML and one GIF) compresses down to 88% of its original size which
isn't much compression.
P.S.
anyone know why the following gives me "bash: 4: Bad file number"
tar cf - . | ( ( multitee 0:1,5 | gzip -c | wc; sleep 2 ) 5>&1 1>&4 | wc) 4>&1
"The bash authors are pinheads" is my current guess :)
--
Bob Forsman thoth@gainesville.fl.us
http://www.gainesville.fl.us/~thoth/