<div dir="ltr">just starting with this so please, bear with me....<div><br></div><div>Anyways I am looking at this beginner's script:</div><div><br></div><div><div> #! /bin/bash</div><div> myvar=0</div><div> while [ $myvar -ne 20 ]<br></div><div> do</div><div> echo $myvar</div><div> myvar=$(( $myvar + 1 ))</div><div> done</div><div><br></div><div>Now my mind can wrap itself around everything in this script except for tis line:</div><div> </div><div> myvar=$(( $myvar + 1 ))<br></div><div><br></div><div>Where my difficulty arises is why the '$' before the '(('?</div><div>(it was geast fun running that script with a minus sign instead!)</div><div><div class="gmail_signature">:-)~MIKE~(-:</div></div>
</div></div>