AMSKIT61 issues

E

Erick

Guest
Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation, At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.

Another files that has tgzaa/ tgzab extension also have the same
problem, such as


14A_PostLayoutSignOffFunctionalVerification.tgzaa.enc===>decrypt OK
14A_PostLayoutSignOffFunctionalVerification.tgzab.enc===> not decrypt
14A_PostLayoutSignOffFunctionalVerification.tgzac.enc===> not decrypt
The first one is successfully decrypted, But anouther two are not.

Why files with tgzaa/ tgzab/gzac extension can not be decrypted
correctly?
How to fix this problem?

Thanks,

Erick
 
In article <1e1b43d8-a655-4953-a028-5224704559b7@x6g2000prc.googlegroups.com> Erick <erickrichardsen@gmail.com> writes:
Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation, At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.
I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split". So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
<decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar.
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
(phz@seeheader.nospam)

Hofstadter's Law:
It always takes longer than you expect, even when you take
Hofstadter's Law into account.
 
On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.

I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar..
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.
Hi Pete,

I used cat command to concatenate them and then decrypted them. It
does not work.

I tried to decrypted them individually. I can decrypt
02D_ITDB_Implementation.tgzaa.enc. But I can not decrypt
02D_ITDB_Implementation.tgzab.enc.

Can anyone give me some suggestion for this issue?

Thanks,

Erick
 
On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.

I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar..
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.
Hi Pete,

I used cat command to concatenate them and then decrypted them. It
does not work.

I tried to decrypted them individually. I can decrypt
02D_ITDB_Implementation.tgzaa.enc. But I can not decrypt
02D_ITDB_Implementation.tgzab.enc.

Can anyone give me some suggestion for this issue?

Thanks,

Erick
 
On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.

I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar..
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.
Hi Pete ,

I used Cat command to concatenate them and then decrypted them, It
does not work.

I decrypted them sepratetivly. 02D_ITDB_Implementation.tgzaa.enc is
decrypted successfully, but 02D_ITDB_Implementation.tgzab.enc still
not be decrypted.

Can someone give me an idea to fix this issue?

Thanks!

Erick
 
On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,

I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :

   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt

the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.

I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar..
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.
Hi Pete ,

I used Cat command to concatenate them and then decrypted them, It
does not work.

I decrypted them sepratetivly. 02D_ITDB_Implementation.tgzaa.enc is
decrypted successfully, but 02D_ITDB_Implementation.tgzab.enc still
not be decrypted.

Can someone give me an idea to fix this issue?

Thanks!

Erick
 
Erick wrote, on 09/11/09 05:01:
On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,
I tried to migrate AMSKIT61 from school lab to my workstation, At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :
02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
02D_ITDB_Implementation.tgzab.enc ===> not decrypt
the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.
I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split". So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar.
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
(p...@seeheader.nospam)

Hofstadter's Law:
It always takes longer than you expect, even when you take
Hofstadter's Law into account.

Hi Pete ,

I used Cat command to concatenate them and then decrypted them, It
does not work.

I decrypted them sepratetivly. 02D_ITDB_Implementation.tgzaa.enc is
decrypted successfully, but 02D_ITDB_Implementation.tgzab.enc still
not be decrypted.

Can someone give me an idea to fix this issue?

Thanks!

Erick
Erick,

This should be taken care of by the script:

install/tmp/ams613_MISC*.exe (the exact name will vary).

It depends on which version of the kit you're installing as to the exact file names.

The flow is to use "cdnDecrypt" to decrypt each file, and then concatenate them
with cat. Not the other way around...

Perhaps you can take the script and put some debugging messages around this. I'm
not sure why it failed, but I did see something similar a number of months back
at a customer where I was installing the kit, and I worked around it because I
was in a hurry, and never had the chance to investigate exactly what went
wrong... (or at least, I can't remember the precise details).

Regards,

Andrew.


--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 
On Sep 14, 10:14 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Erick wrote, on 09/11/09 05:01:



On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,
I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :
   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt
the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.
I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar.
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.

Hi Pete ,

I used Cat command to concatenate them and then decrypted them,  It
does not work.

I decrypted them sepratetivly.  02D_ITDB_Implementation.tgzaa.enc is
decrypted successfully, but 02D_ITDB_Implementation.tgzab.enc still
not be decrypted.

Can someone give me an idea to fix this issue?

Thanks!

Erick

Erick,

This should be taken care of by the script:

install/tmp/ams613_MISC*.exe (the exact name will vary).

It depends on which version of the kit you're installing as to the exact file names.

The flow is to use "cdnDecrypt" to decrypt each file, and then concatenate them
with cat. Not the other way around...

Perhaps you can take the script and put some debugging messages around this. I'm
not sure why it failed, but I did see something similar a number of months back
at a customer where I was installing the kit, and I worked around it because I
was in a hurry, and never had the chance to investigate exactly what went
wrong... (or at least, I can't remember the precise details).

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
Hi Andrew,

Following to the flow you mentioned,

After starting the license, I decrypted them sepratetivly with
cdnDecrypt. I found that
the first one 02D_ITDB_Implementation.tgzaa.enc can be successfully
decrypted. I can uncompress it with tar. However, the second one
02D_ITDB_Implementation.tgzab.enc is not decrypted yet. it does not
show any error or other information in the log file and it can not be
uncompressed with tar.

I have no idea. Why the first one is decrypted but the second one
isn't?

Thanks!

Erick
 
On Sep 14, 10:14 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Erick wrote, on 09/11/09 05:01:



On Sep 10, 12:45 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <1e1b43d8-a655-4953-a028-522470455...@x6g2000prc.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi All,
I tried to migrate AMSKIT61 from school lab to my workstation,  At the
end of installation of AMSKIT61, I need to configuire it, after
configuration, I found that some files are not decrypted, such as :
   02D_ITDB_Implementation.tgzaa.enc ===>decrypt OK
   02D_ITDB_Implementation.tgzab.enc ===> not decrypt
the first one 02D_ITDB_Implementation.tgzaa.enc is successfully
decrypted, but the second one 02D_ITDB_Implementation.tgzab.enc is
not.
I'm assuming the "aa" and "ab" after the "tgz" implies the file was split
using the command "split".  So to decrypt you have to concatenate them with
"cat":

# cat 02D_ITDB_Implementation.tgzaa.enc 02D_ITDB_Implementation.tgzab.enc |
decrypt program> | gtar zxvf -

Either that, or you decrypt them individually and then cat them into gtar.
But I'm guessing they are two sections of a single gzipped tar file that were
then encrypted.

-Pete Zakel
 (p...@seeheader.nospam)

Hofstadter's Law:
        It always takes longer than you expect, even when you take
        Hofstadter's Law into account.

Hi Pete ,

I used Cat command to concatenate them and then decrypted them,  It
does not work.

I decrypted them sepratetivly.  02D_ITDB_Implementation.tgzaa.enc is
decrypted successfully, but 02D_ITDB_Implementation.tgzab.enc still
not be decrypted.

Can someone give me an idea to fix this issue?

Thanks!

Erick

Erick,

This should be taken care of by the script:

install/tmp/ams613_MISC*.exe (the exact name will vary).

It depends on which version of the kit you're installing as to the exact file names.

The flow is to use "cdnDecrypt" to decrypt each file, and then concatenate them
with cat. Not the other way around...

Perhaps you can take the script and put some debugging messages around this. I'm
not sure why it failed, but I did see something similar a number of months back
at a customer where I was installing the kit, and I worked around it because I
was in a hurry, and never had the chance to investigate exactly what went
wrong... (or at least, I can't remember the precise details).

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
Hi Andrew,

Following to the flow you mentioned,

After starting the license, I decrypted them sepratetivly with
cdnDecrypt. I found that
the first one 02D_ITDB_Implementation.tgzaa.enc can be successfully
decrypted. I can uncompress it with tar. However, the second one
02D_ITDB_Implementation.tgzab.enc is not decrypted yet. it does not
show any error or other information in the log file and it can not be
uncompressed with tar.

I have no idea. Why the first one is decrypted but the second one
isn't?

Thanks!

Erick
 
In article <006c62da-5dca-40c1-913c-e0933d5e9af4@2g2000prl.googlegroups.com> Erick <erickrichardsen@gmail.com> writes:

Hi Andrew,

Following to the flow you mentioned,

After starting the license, I decrypted them sepratetivly with
cdnDecrypt. I found that
the first one 02D_ITDB_Implementation.tgzaa.enc can be successfully
decrypted. I can uncompress it with tar. However, the second one
02D_ITDB_Implementation.tgzab.enc is not decrypted yet. it does not
show any error or other information in the log file and it can not be
uncompressed with tar.

I have no idea. Why the first one is decrypted but the second one
isn't?
I believe the second one is decrypted, but it is not a separate tar file, it
is the second part of a two part tar file. After decrypting you need to cat
both of them to tar.

So, assuming after decryption you have the files 02D_ITDB_Implementation.tgzaa
and 02D_ITDB_Implementation.tgzab, you should run:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxfb -

to untar them.

-Pete Zakel
(phz@seeheader.nospam)

"If anything can go wrong, it will."
 
On Sep 15, 2:36 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <006c62da-5dca-40c1-913c-e0933d5e9...@2g2000prl.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi Andrew,

Following to the flow you mentioned,

After starting the license, I decrypted them  sepratetivly with
cdnDecrypt.  I found that
the first one 02D_ITDB_Implementation.tgzaa.enc can be successfully
decrypted. I can uncompress it with tar.  However, the second one
02D_ITDB_Implementation.tgzab.enc is not  decrypted yet. it does not
show any error or other information in the log file and it can not be
uncompressed with tar.

I have no idea. Why the first one is decrypted but the second one
isn't?

I believe the second one is decrypted, but it is not a separate tar file, it
is the second part of a two part tar file.  After decrypting you need to cat
both of them to tar.

So, assuming after decryption you have the files 02D_ITDB_Implementation.tgzaa
and 02D_ITDB_Implementation.tgzab, you should run:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxfb -

to untar them.

-Pete Zakel
 (p...@seeheader.nospam)

"If anything can go wrong, it will."
Hi Pete,

Thanks,

I run the following command:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
zxfb

It shows
gtar: old option 'f' require an argument.

I tried
cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
-zxfb

It shows
tar (child): b: cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now

Does "gtar zxfb" use to extract files from an archive? Why there's
issues with the command "gtar zxfb"?

I then concatenated them with cat first as :

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab >
02D_ITDB_Implementation.tgz

and then untar them with tar, but the second one was not uncompressed
yet.
Is there any wrong with my cat command?

Thanks!

Erick
 
Erick wrote, on 09/15/09 06:13:
On Sep 15, 2:36 pm, px...@cadence.com (Pete nospam Zakel) wrote:
In article <006c62da-5dca-40c1-913c-e0933d5e9...@2g2000prl.googlegroups.com> Erick <erickrichard...@gmail.com> writes:

Hi Andrew,
Following to the flow you mentioned,
After starting the license, I decrypted them sepratetivly with
cdnDecrypt. I found that
the first one 02D_ITDB_Implementation.tgzaa.enc can be successfully
decrypted. I can uncompress it with tar. However, the second one
02D_ITDB_Implementation.tgzab.enc is not decrypted yet. it does not
show any error or other information in the log file and it can not be
uncompressed with tar.
I have no idea. Why the first one is decrypted but the second one
isn't?
I believe the second one is decrypted, but it is not a separate tar file, it
is the second part of a two part tar file. After decrypting you need to cat
both of them to tar.

So, assuming after decryption you have the files 02D_ITDB_Implementation.tgzaa
and 02D_ITDB_Implementation.tgzab, you should run:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxfb -

to untar them.

-Pete Zakel
(p...@seeheader.nospam)

"If anything can go wrong, it will."

Hi Pete,

Thanks,

I run the following command:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
zxfb

It shows
gtar: old option 'f' require an argument.

I tried
cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
-zxfb

It shows
tar (child): b: cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now

Does "gtar zxfb" use to extract files from an archive? Why there's
issues with the command "gtar zxfb"?

I then concatenated them with cat first as :

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab
02D_ITDB_Implementation.tgz

and then untar them with tar, but the second one was not uncompressed
yet.
Is there any wrong with my cat command?

Thanks!

Erick
It should be:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxf -

The "-" is important to tell it to take the file from standard input, i.e. the
output of the pipe.

I didn't understand your last statement "and then untar them with tar, but the
second one was not uncompressed yet" - I don't know what you're saying. You'd
have to do:

tar xvf 02D_ITDB_Implementation.tgz

Regards,

Andrew.
 
In article <ab279ef3-e9f3-46ec-9766-4597631912d7@v15g2000prn.googlegroups.com> Erick <erickrichardsen@gmail.com> writes:

cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
zxfb

It shows
gtar: old option 'f' require an argument.

I tried
cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
-zxfb

It shows
tar (child): b: cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now

Does "gtar zxfb" use to extract files from an archive? Why there's
issues with the command "gtar zxfb"?
You need to specfiy a hyphen as the argument to specify that the input is
coming from stdin:

# cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxf -

Note that I'm an old timer, and with the old tar if you don't specify a file
(the "f" argument) then it uses the default magnetic medium (originally tape,
"tar" stands for "tape archive") for the files.

It may be that with gtar all you need is "gtar zx" to specify input is from
stdin.

The "v" is for "verbose", "z" is for "needs to be uncompressed" and the "x" is
for "extract".

The "b" option, from what I remember, is for blocksize -- but in this case
it seems to take the "b" as the file name since it follows the "f" (when you
use the hyphen in front of the options).

If you are running on linux, I think "tar" and "gtar" are the same thing. The
old tar does not understand the "z" option, so I tend to specify "gtar" since
I'm running on a Solaris machine and "tar" and "gtar" are not the same.

-Pete Zakel
(phz@seeheader.nospam)

"If science were explained to the average person in a way that is accessible
and exciting, there would be no room for pseudoscience. But there is a kind
of Gresham's Law by which in popular culture the bad science drives out the
good. And for this I think we have to blame, first, the scientific community
ourselves for not doing a better job of popularizing science, and second, the
media, which are in this respect almost uniformly dreadful. Every newspaper
in America has a daily astrology column. How many have even a weekly
astronomy column? And I believe it is also the fault of the educational
system. We do not teach how to think. This is a very serious failure that
may even, in a world rigged with 60,000 nuclear weapons, compromise the human
future."
-Carl Sagan, The Burden Of Skepticism,
The Skeptical Inquirer, Vol. 12, Fall 1987
 
On Sep 16, 7:45 am, px...@cadence.com (Pete nospam Zakel) wrote:
In article <ab279ef3-e9f3-46ec-9766-459763191...@v15g2000prn.googlegroups..com> Erick <erickrichard...@gmail.com> writes:



cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
zxfb

It shows
gtar: old option 'f' require an argument.

I tried
cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar
-zxfb

It shows
tar  (child): b: cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now

Does "gtar zxfb" use to extract files from an archive?  Why there's
issues with the command "gtar zxfb"?

You need to specfiy a hyphen as the argument to specify that the input is
coming from stdin:

# cat 02D_ITDB_Implementation.tgzaa 02D_ITDB_Implementation.tgzab | gtar zxf -

Note that I'm an old timer, and with the old tar if you don't specify a file
(the "f" argument) then it uses the default magnetic medium (originally tape,
"tar" stands for "tape archive") for the files.

It may be that with gtar all you need is "gtar zx" to specify input is from
stdin.

The "v" is for "verbose", "z" is for "needs to be uncompressed" and the "x" is
for "extract".

The "b" option, from what I remember, is for blocksize -- but in this case
it seems to take the "b" as the file name since it follows the "f" (when you
use the hyphen in front of the options).

If you are running on linux, I think "tar" and "gtar" are the same thing.  The
old tar does not understand the "z" option, so I tend to specify "gtar" since
I'm running on a Solaris machine and "tar" and "gtar" are not the same.

-Pete Zakel
 (p...@seeheader.nospam)

"If science were explained to the average person in a way that is accessible
 and exciting, there would be no room for pseudoscience.  But there is a kind
 of Gresham's Law by which in popular culture the bad science drives out the
 good.  And for this I think we have to blame, first, the scientific community
 ourselves for not doing a better job of popularizing science, and second, the
 media, which are in this respect almost uniformly dreadful.  Every newspaper
 in America has a daily astrology column.  How many have even a weekly
 astronomy column?  And I believe it is also the fault of the educational
 system.  We do not teach how to think.  This is a very serious failure that
 may even, in a world rigged with 60,000 nuclear weapons, compromise the human
 future."
                        -Carl Sagan, The Burden Of Skepticism,
                         The Skeptical Inquirer, Vol. 12, Fall 1987
Hi Andrew and Pete,

Thank you for your very helpful suggestion, by combining your idea I
've fixed the problem.

Thanks!

Erick
 

Welcome to EDABoard.com

Sponsor

Back
Top