Hi
I have files *.tar.gz. Is it possilble to descompress and search a register at the same time to standard output?
Similar when I search a register in a file file.Z or file.gz or file.bz2 to standard output
zcat file.Z | grep xxx or
bunzip2 -c file.bz2 | grep xxx or
gzip -c file.gz | grep xxx
in this situacion I don´t descompress a file to the hard disc, only in memory.
thanks malpa
I have files *.tar.gz. Is it possilble to descompress and search a register at the same time to standard output?
Similar when I search a register in a file file.Z or file.gz or file.bz2 to standard output
zcat file.Z | grep xxx or
bunzip2 -c file.bz2 | grep xxx or
gzip -c file.gz | grep xxx
in this situacion I don´t descompress a file to the hard disc, only in memory.
thanks malpa