The command
tar -tvf one.tar will only list the contents of the archive, not the contents of the contents?
Sorry. Not the best phrasing there.
It's like a library having a list of the books on the shelves that you can scan through, but it won't be able to find the phrases of text actually in the books themselves.
If you need to have critical things accessible in this way, you may need to create yourself some sort of a reference index for the critical entries. Otherwise, you would need to extract the files back to disk and then run the
grep on the files before tidying them away, but there usually isn't space to do that and there is a lot of I/O to do too.
I supppose it might be possible to stream through the tar file looking for the file markers and the string you are searchign for, but that would surely be C code written and you would have to understand the tar file structure - which I don't.
Robin
Liverpool/Blackburn
UK