Redirecting stdout to tar
Can anyone tell me how i can redirect stdout to a tar file.
This is what i want to do...
I have a file, say xyz. I want to create a new tar file(say 123.tar) in which xyz appears with a new name say "abc", i don't want to create a copy of xyz or modify it. I want to "cat xyz" and redirect that output to "tar". Is this possible.