We have some code which looks like
so far, so good. However we now want run 'command1' in the background so we changed the code to
Now we get the error message
Ok, so I could use the if-then-fi format but I'm interested to know what's going on and how I can stop it.
Thanks
Ceci n'est pas une signature
Columb Healy
Code:
[[ condition ]] && { command1; command2; }
Code:
[[ condition ]] && { command1 &; command2; }
Code:
ksh: 0403-057 Syntax error: `}' is not expected.
Thanks
Ceci n'est pas une signature
Columb Healy