On 06/05/2010 10:56 PM, Aiza wrote: > i) action="installworld"; $flag_count=$((flag_count+1));; > ... > What is still wrong here
Bourne shell expands variables to their contents before evaluating. Thus, the above assignment ends up expanding to '0=1'. Leave out the $ on the target variable, and it becomes 'flag_count=1', which is more likely what you intended. The other syntax does make for some pretty nifty hacks, though. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[email protected]> Furry Peace! - http://wwww.fur.com/peace/ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
