Thread: Cygipc problem

Cygipc problem

From
"Mike Angelastro"
Date:
Hi,
 
tar -C / -xjf cygipc-${1.14-1}.tar.bz2
 
I can't seem to get the above command to work.
 
error message:
 
bash: cygipc-${1.14-1).tar.bz2: bad substitution

Mike

Attachment

Re: Cygipc problem

From
"Dave Page"
Date:
Try leaving out the ${}
 
eg.
 
tar -C / -xjf cygipc-1.14-1.tar.bz2
 
Regards, Dave.
-----Original Message-----
From: Mike Angelastro [mailto:mike@catosoft.com]
Sent: 12 August 2003 06:49
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Cygipc problem

Hi,
 
tar -C / -xjf cygipc-${1.14-1}.tar.bz2
 
I can't seem to get the above command to work.
 
error message:
 
bash: cygipc-${1.14-1).tar.bz2: bad substitution

Mike

Attachment

Re: Cygipc problem

From
"Kallol Nandi"
Date:
I guess you have to run the bunzip utility before the tar.
 
Regards,
Kallol.
-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Mike Angelastro
Sent: Monday, August 11, 2003 22:49
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Cygipc problem

Hi,
 
tar -C / -xjf cygipc-${1.14-1}.tar.bz2
 
I can't seem to get the above command to work.
 
error message:
 
bash: cygipc-${1.14-1).tar.bz2: bad substitution

Mike

Attachment

Re: Cygipc problem

From
Jason Tishler
Date:
Kallol,

On Tue, Aug 12, 2003 at 06:29:21PM -0700, Kallol Nandi wrote:
> I guess you have to run the bunzip utility before the tar.

No.

>     tar -C / -xjf cygipc-${1.14-1}.tar.bz2
                 ^
                 *

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6