On Monday 06 July 2009 19:10:36 Jiří Paleček wrote: > On Mon, 06 Jul 2009 23:51:12 +0200, Matt Helsley wrote: > > Change the increment syntax to use : $(( X += 1 )) instead of: > > X=$((X + 1)) > > I changed this to (IMHO cooler syntax, it's for the sake of aesthetics > after all) ": $((X++))" in my patch.
yes, x++ is better, but it is marked as "optional" in POSIX and some crappy shell implementations do not implement it (like dash). rather than fix dash, people change the code to not use these operators. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
