I want to use the command line join utility on two files. Unfortunately, they're gzipped. Because they're both gzipped, I can't use gzip -cd. Is there a slick way to do this without having to unzip them?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

No, but bash (among other shells) can do process substitution.

join <(zcat foo.gz) <(zcat bar.gz)
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.