Andrei Bintintan klodoma
Wed Apr 20 20:19:17 PDT 2005
> The word that acts as terminator for a "here" document must be at the
> beginning of the line; if you want to insert leading spaces, then you
> must use:
> slonik <<-_EOF_

Yeap that was it... ok digging further...


----- Original Message ----- 
From: "Paul Slootman" <paul at telegraafnet.nl>
To: <slony1-general at gborg.postgresql.org>
Sent: Wednesday, April 20, 2005 4:34 PM
Subject: Re: [Slony1-general] slonik or bash error?


> On Wed 20 Apr 2005, Andrei Bintintan wrote:
>>
>> I want to run for the first time the replication.
>>
>> slony-I-basic-mstr-slv.txt >> but when I run the first script I get the 
>> following error:
>>
>> <stdin>:56: ERROR: syntax error at or near _EOF_
>>
>> Is it bash or slonik???
>>
>> This si the script that I want to run(it's the first one from the 
>> document)
>
>> #!/bin/sh
>>
>>     slonik <<_EOF_
> [..]
>>     _EOF_
>
> The word that acts as terminator for a "here" document must be at the
> beginning of the line; if you want to insert leading spaces, then you
> must use:
> slonik <<-_EOF_
> i.e. start the word with a - .
>
>
> Paul Slootman
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/slony1-general
>
> 




More information about the Slony1-general mailing list