$ dash -c 'a=10; echo $((a*2))' 20 BUT: $ dash -c 'a=10; echo $((a++))' dash: arithmetic expression: expecting primary: "a++"
Wartan Hachaturow wrote a patch for FreeBSD's ash some time ago[1] [1]http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/52972 Sincerely, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Earth Hour 2008 - Take action! http://www.earthhour.org/user/xJKk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]