Обсуждение: Cygipc problem

Поиск
Список
Период
Сортировка

Cygipc problem

От
"Mike Angelastro"
Дата:
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

Вложения

Re: Cygipc problem

От
"Dave Page"
Дата:
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

Вложения

Re: Cygipc problem

От
"Kallol Nandi"
Дата:
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

Вложения

Re: Cygipc problem

От
Jason Tishler
Дата:
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