I wrote the following shell script
for i in mylist
do
cd $i
old = $(svn info | grep URL:)
echo old
done
but I get the following error message:
line 5: old: command not found
Hoe can I allocate the value obtained from (svn info | grep URL:)
in a parameter.
I tried the following echo$(svn info | grep URL:)
, that works but the allocation to old and then print the variable old dose not work.
How can I solve the problem?