Hi,
I have a .pcap.gz file and I would like to initially gzip it and then pass the resulting .pcap filename as an argument to a piped tool; the right-hand tool is not standardized linux tool but a custom one that strictly requires the string name of a given .pcap file in order for the pcap file to be processed. Anyhow,
For example, the tool works fine if i state the following on an already unzipped file :
./my_tool -I -C source="file.pcap" > text_format_of_pcap
I've tried the following just to check on whether it would work directly on a gzipped (however as anticipated it didn't):
gzip -c myfile.pcap.gz > ../mydirectory/ | my_tool -I -C
Therefore, I was wondering on whether there is a way to use stdin or something else to do that?
Thanks in advance