just starting with this so please, bear with me....Anyways I am looking at this beginner's script:#! /bin/bashmyvar=0while [ $myvar -ne 20 ]doecho $myvarmyvar=$(( $myvar + 1 ))doneNow my mind can wrap itself around everything in this script except for tis line:myvar=$(( $myvar + 1 ))Where my difficulty arises is why the '$' before the '(('?(it was geast fun running that script with a minus sign instead!):-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss