Z W wrote:
Hi
How do I embed a if-then statement inside sshexec knowing that the remote
shell is a csh ?
Hi.
why dont you tell us what it is you are trying to do, instead of asking
a problem at a time? It is good to see you making progress, but I do
wonder if you are on the right path fo
You have to use the CSH syntax. You're using Bourne Shell syntax:
if (expr) then
...
else if (expr2) then
...
else
...
endif
On Feb 10, 2008 8:50 AM, Z W <[EMAIL PROTECTED]> wrote:
> Hi
>
> How do I embed a if-then statement inside sshexec knowing that the remote
> shell is a csh ?
> I keep get
Hi
How do I embed a if-then statement inside sshexec knowing that the remote
shell is a csh ?
I keep getting this error:
[sshexec] if: Expression Syntax.
[sshexec] Remote command failed with exit status 1
thanks