On Fri, Apr 12, 2002 at 10:32:23PM -0400, Glenn Maynard wrote: > It could also simply be removed. Both gzip and bzip2 permit concatenating > files. (In other words, remove for_each and make zcat and bz2cat regular > filters.)
Very nice. I did not know that. > The obvious loss is that it stops at the first corruption. For zcat, > this doesn't seem like a problem: regular zcat does the same thing. > ("zcat file1.gz file2.gz" stops if file1.gz is truncated, without opening > file2.gz at all.) I would not care much for corrupted files. > Are there any other reasons for for_each'ing this? None, I beleave. -- Alexander.