Re: Strange problem with source

2014-01-12 Thread Bert Barbe
I think what happens is the following: "Using declare limits the scope of the variable." Since the source of b happens inside the function includeFile, the declare of testVariable happens inside that function, and it's scope is limited to that function. Kind regards, Bert On 01/12/2014 01:31

Re: problems with output redirection

2008-04-02 Thread Bert Barbe
With local and locally I mean ofcourse on the host that is running local.sh e.g;. change local.sh to do ssh $HOST $REMOTE_SKRIPT >>$OUTPUT and remove the redirection to $OUTPUT in remote.sh Bert Bert Barbe wrote: Interesting would be to see how the file looks like on the other hosts ;)

Re: problems with output redirection

2008-04-02 Thread Bert Barbe
Interesting would be to see how the file looks like on the other hosts ;) Maybe the file is being extended on the remote host first but the write() isn't synced before the local host writes again. Why not redirect the output off ssh locally so that all writes are local ? That is if the output is