i'm a fucking newbie ;)

hi again,

how can i install these gzip files under qnx ?? i don’t know how to install
neuftp etc.

thx,

meph

mephisto wrote:

hi again,

how can i install these gzip files under qnx ?? i don’t know how to install
neuftp etc.

thx,

meph

No worries. Try gzip -d blah.tar.gz, and then tar -vxf blah.tar

This will extract to the current directory, so get into the right
directory first.

In article <39D82A12.C89C8700@ssmb.com.au>,
Dave O’Brien <david.obrien@ssmb.com.au> wrote:

mephisto wrote:

hi again,

how can i install these gzip files under qnx ?? i don’t know how to install
neuftp etc.

thx,

meph

No worries. Try gzip -d blah.tar.gz, and then tar -vxf blah.tar

This will extract to the current directory, so get into the right
directory first.

Or you can do it in one step and keep only the compressed tar w/

gzip -dc blah.tar.gz | tar -vxf -

on some systems zcat is the same as `gzip -dc’

http://www.math.fsu.edu/~bellenot
bellenot math.fsu.edu
+1.850.644.7189 (4053fax)

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>

 
 
>No worries.  Try gzip -d blah.tar.gz, and then tar -vxf blah.tar
>
>This will extract to the current directory, so get into the right
>directory first.

Or you can do it in one step and keep only the compressed tar w/

gzip -dc blah.tar.gz | tar -vxf -

on some systems zcat is the same as `gzip -dc'

or even more simplier

tar -xvzf blah.tar.gz

--
BR, Andrej
 

Or, it has been discovered that even this works:

tar -xvzf file.tar.gz

the z flag, seems to be a recent addition to at least two OS’s tar utility, that I
know of, that tells the tar utility to uncompress a gzip on the fly and leave the
original file untouched.

apparently, this works in the forward direction as well:

tar -cvzf file.tar.gz .

will create a gzip’d tar file. I did it with and without z, and saw that the file
size of the z created file was way smaller, so it compressed, and I could not -tvf
it, it wasn’t recognized as a tar file, but I could -tvzf it.

Funny thing is, the flag is not in the documentation. Only reason I knew of it
was from using the MacOS X Public Beta from Apple.

Scott

Steve Bellenot wrote:

In article <> 39D82A12.C89C8700@ssmb.com.au> >,
Dave O’Brien <> david.obrien@ssmb.com.au> > wrote:


mephisto wrote:

hi again,

how can i install these gzip files under qnx ?? i don’t know how to install
neuftp etc.

thx,

meph

No worries. Try gzip -d blah.tar.gz, and then tar -vxf blah.tar

This will extract to the current directory, so get into the right
directory first.

Or you can do it in one step and keep only the compressed tar w/

gzip -dc blah.tar.gz | tar -vxf -

on some systems zcat is the same as `gzip -dc’

http://www.math.fsu.edu/~bellenot
bellenot math.fsu.edu
+1.850.644.7189 (4053fax)

J. Scott Franko <jsfranko@switch.com> wrote:
: apparently, this works in the forward direction as well:

: tar -cvzf file.tar.gz .

: will create a gzip’d tar file. I did it with and without z, and saw that the file
: size of the z created file was way smaller, so it compressed, and I could not -tvf
: it, it wasn’t recognized as a tar file, but I could -tvzf it.

: Funny thing is, the flag is not in the documentation. Only reason I knew of it
: was from using the MacOS X Public Beta from Apple.

There seem to be a lot of tar options that aren’t in the docs. :frowning:

The docs are really still being developed. If you notice anything else
that’s missing, please post. A subject that mentions “documentation” will
catch my eye. Please try to say where you’re looking in the docs (book,
chapter, section, and so on).

Thanks.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.

In addition the profanity isn’t needed!

Previously, Steve Reid wrote in comp.os.qnx:
{ J. Scott Franko <jsfranko@switch.com> wrote:
{ : apparently, this works in the forward direction as well:
{
{ : tar -cvzf file.tar.gz .
{
{ : will create a gzip’d tar file. I did it with and without z, and saw that the file
{ : size of the z created file was way smaller, so it compressed, and I could not -tvf
{ : it, it wasn’t recognized as a tar file, but I could -tvzf it.
{
{ : Funny thing is, the flag is not in the documentation. Only reason I knew of it
{ : was from using the MacOS X Public Beta from Apple.
{
{ There seem to be a lot of tar options that aren’t in the docs. :frowning:
{
{ The docs are really still being developed. If you notice anything else
{ that’s missing, please post. A subject that mentions “documentation” will
{ catch my eye. Please try to say where you’re looking in the docs (book,
{ chapter, section, and so on).
{
{ Thanks.
{
{ ------------------------------------------
{ Steve Reid stever@qnx.com
{ TechPubs (Technical Publications)
{ QNX Software Systems Ltd.
{ ------------------------------------------
{


Pat Ford email: pford@qnx.com
QNX Software Systems, Ltd. WWW: http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

wasn’t my profanity, I’m just hanging here by a thread! ;O)

Pat Ford wrote:

In addition the profanity isn’t needed!

Previously, Steve Reid wrote in comp.os.qnx:
{ J. Scott Franko <> jsfranko@switch.com> > wrote:
{ : apparently, this works in the forward direction as well:
{
{ : tar -cvzf file.tar.gz .
{
{ : will create a gzip’d tar file. I did it with and without z, and saw that the file
{ : size of the z created file was way smaller, so it compressed, and I could not -tvf
{ : it, it wasn’t recognized as a tar file, but I could -tvzf it.
{
{ : Funny thing is, the flag is not in the documentation. Only reason I knew of it
{ : was from using the MacOS X Public Beta from Apple.
{
{ There seem to be a lot of tar options that aren’t in the docs. > :frowning:
{
{ The docs are really still being developed. If you notice anything else
{ that’s missing, please post. A subject that mentions “documentation” will
{ catch my eye. Please try to say where you’re looking in the docs (book,
{ chapter, section, and so on).
{
{ Thanks.
{
{ ------------------------------------------
{ Steve Reid > stever@qnx.com
{ TechPubs (Technical Publications)
{ QNX Software Systems Ltd.
{ ------------------------------------------
{


Pat Ford email: > pford@qnx.com
QNX Software Systems, Ltd. WWW: > http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

In article <39D8A8A1.58219799@switch.com>,
J. Scott Franko <jsfranko@switch.com> wrote:

Or, it has been discovered that even this works:

tar -xvzf file.tar.gz

the z flag, seems to be a recent addition to at least two OS’s tar utility, that I
know of, that tells the tar utility to uncompress a gzip on the fly and leave the
original file untouched.

This -z option is a gnu tar option and not present on all unix tars.

http://www.math.fsu.edu/~bellenot
bellenot math.fsu.edu
+1.850.644.7189 (4053fax)

Yep! Like QNX 4.x tar! No -z option available!


Or, it has been discovered that even this works:

tar -xvzf file.tar.gz

the z flag, seems to be a recent addition to at least two OS’s tar
utility, that I
know of, that tells the tar utility to uncompress a gzip on the fly and
leave the
original file untouched.

This -z option is a gnu tar option and not present on all unix tars.