"Variable not found" error issued by the shell
<pre><code>if [ "$1" = "" ]
then
       echo -n "Gib das Startkapital ein: "
       read kapital
else
       kapital  = $1
fi

echo $kapital
</code></pre>

<p>When I say kapital = $1 it says that this variable does not exist:</p>

<pre><code>$ sh zins.sh
zins.sh: 16: zins.sh kapital: not found
</code></pre>