Richard Adams wrote:
>
> >
> > Richard Adams wrote:
> > >
> > <snip>
> > > zless filename.tar.gz
> > > make sure that the archive creates its own directory, that can be seen in
> > <snip>
> > Huh? What's that for? I guess you wanted to do
> > tar tfz filename.tar.gz
>
> If i wanted to do that i would do that, i could have said that in my reply i
> normaly give 2 or more different ways of doing things, i said;
> zless filename.tar.gz which i _meant_ . Obviously you did not try that
> otherwaise you woukld have seen what i meant.
>
I don't need to try, as I know what zless is and that you see the
filenames if you do that. But after getting flamed for the 'REAL
linuxer's way' of doing things I wanted to make sure that the function
tar itself provides for the exact purpose you were talking about, was
mentioned on the list.
> An example would be;
>
> zless /home/pa3gcu/cwkeyer-0.1.tgz returns in the top lefthand corner;
>
> cwkeyer-0.1/
>
so does tar tfz :-)
> Now i know that i can unpack the archive in /usr/local/src and it will
> create its own directory. I dont need to know what subdirectorys will be
> crated as i will see that as soon as the archive is unpacked and i cd to
> its directory.
>
Your intention was clear of course and as you said: "There's always more
than one way to do things" (btw: That's the Perl motto :-) I wanted to
demonstrate the straight way as I occasionally present curved ways.
> Dont say "Huh?" try the command given before asking what could be called a
> silly question from someone who considers himself a _hacker_.
>
I don't. You called me that (in another thread).
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)