Paul Slootman paul
Wed Apr 20 14:34:25 PDT 2005
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


More information about the Slony1-general mailing list