Wot im trying to do in perl is
tar tf file | grep gz | grep -v sig
This should leave just the file.gz filename to pass to stdout
Then pass this as a variable to
tar xOf file variable | grep....
I've managed to do this by passing the stdout to a tmp file and reading this in using cat, but I want to do this without using a tmp file.