Execute command inside while problem

Hi!

How can I execute a linux command inside the while cicle??

like:

This doesn't work. Should I replace the by '' or ""

There must be a space after the open square bracket '[' and a space before the close square bracket ']'

while [ svn checkout svn+ssh://ruben@192.168.1.3/esp-server/svn/$URL &> $LOGFILE ] ; do

instead of:

while [svn checkout svn+ssh://ruben@192.168.1.3/esp-server/svn/$URL &> $LOGFILE] ; do

Regards

while svn checkout svn+ssh://ruben@192.168.1.3/esp-server/svn/$URL &> $LOGFILE ; do
...
...
done 

That doesn't execute svn; test (a.k.a. [) sees it as its first argument, and expects the second argument to be an operator.