Brian T. Schellenberger wrote:
> In the vain hope of forestalling a number of "you moron" followups, I
> will point out that I saw the recent posting explaining that there's a
> "y" option that does exactly this. In my defense, it's not in the "man"
> page.
man or documentation page bug.
y option for what? I just checked the man pages for tar and bzip2 and also
didn't see any mention of a y option.
> Yeah, I'm more a Unix person than a Linux person, so I checked "man"
> rather than "info." But I checked "info" just now and it's even worse:
> It claims that the "I" option does bzip rather than the "y" option.
Why not just use bzip2 and tar separately? Or are you talking about some other
tool?
Sounds like the option -I would be related to tar, and if this is the case,
then I'ld just stick with using the tools separately.
> PS: Does anybody know of a utility that will translate info into man
> format?
Am unaware, of such a tool. Just checked and didn't find any for info to man,
but did find pod2man; therefore, if there's a way of getting info converted to
man, then it would probably be through an indirect route, perhaps info to dvi
or ps, then dvi or ps to pod or man, etcetera, for example. info might also
have this information.
You might find an answer in the texinfo documentation, which you may or
probably have a directory for under /usr/doc. Am not certain if texinfo is
related to info, but this documentation should quickly answer this additional
question.
Actually, I just checked and there isn't much to speak of there; however, the
LDP should have documentation. You may find the following documentation of
some use, maybe:
man mkmanifest
(top where it explains - somewhat - how this man page was
created)
info texinfo
Nonetheless, does bzip2 or bunzip2 not work for un-bz2'ing your file?
If you're using kde, then have you tried kpackage or karchive, or some other
kde utility or tool?
> "Brian T. Schellenberger" wrote:
> >
> > I find .tar.gzip and .tgz files much more convenient becuase of the
> > integrated support for the gzip:
> >
> > tar xvzf foo.tgz
> >
> > does the whole thing.
Yep. The only reason I haven't used this more than once is because I already
knew tar and gzip, don't need all tar files zipped, don't do tar'ing and
zip'ing an extraordinary amount, and using the tools separately means needing
to remember one less option. If I used both functions combined, often, then
I'ld use only tar with xvzf.
Alas, dude, it's mostly a free world.
> > But the answer the original question, the easist way is
> >
> > bzcat foo.tar.gz2 | tar xvf -
Depends on what the person wants to do and it's .bz2.
Besides, that's really no easier than the following, or at least not so much
easier that it's worthy of note:
% bunzip2 foo.tar.gz2 ; tar xvf foo.tar
(or running the two commands from separate prompts)
Showing newbies the many various ways of running commands as per the Unix ways
is good, I guess; however, if people are going to complain about a nano-second
of difference in time, then go ahead. At the end of the week, you'll have
saved a whole few nano- or micro-seconds.
I mostly prefer the practical approach. If you want to sit at work all day
trying to figure out how to make your dog do all sorts of tricks, then go right
ahead. Until you're accountable to me, I don't care how you spend your time,
and I've never worked in such (permissive) environments. Besides the trick I
prefer to teach dogs is to stop barking unnecessarily.
>From one moron to another,
mike
P.S. Huff & puff and the big bad wolf blew the little piggies' house down.
Rude wolf, I'll say.