Hi David, On Mon, Sep 19, 2005 at 12:06:46AM +0200, David Weinehall wrote: > Please consider implementing full SuSv3 support for arithmetic expansion. > > http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_04 > > ``If the shell variable x contains a value that forms a valid integer > constant, then the arithmetic expansions "$((x))" and "$(($x))" shall > return the same value.''
hmm, can you give an example where this actually is used? > Also: > > ``All changes to variables in an arithmetic expression shall be in effect > after the arithmetic expansion, as in the parameter expansion > "${x=value}".'' AIUI, looks like dash already does this. Can you show where exactly you want dash to behave differently? $ dash -c 'unset x; echo $((${x=14})); echo ${x=41}' 14 14 $ Thanks, Gerrit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]