Re: long arithmetics in dash, dash fix 4`The Shell: arithmetic comparison with void'

2007-07-05 Thread Oleg Verych
* me (Sun, 1 Jul 2007 20:22:21 +0200) > > Maybe somebody interested in making dash use "long int", thus enabling > wider range on 64bit platforms, while still having same on 32bit ones? #329025 has a link to the standard, that states: Precision and Operations , with the following exceptions:

long arithmetics in dash, dash fix 4`The Shell: arithmetic comparison with void'

2007-07-01 Thread Oleg Verych
* Date: Mon, 11 Jun 2007 14:24:24 + (UTC) > Yet arithmetic ones are still with them: > >|-*- > [EMAIL PROTECTED]:/tmp$ bash -c "test '' -eq 0 ; echo \$?" > bash: line 0: test: : integer expression expected > 2 > [EMAIL PROTECTED]:/tmp$ dash -c "test '' -eq 0 ; echo \$?" > 0 > [EMAIL

long arithmetics in dash, dash fix 4`The Shell: arithmetic comparison with void'

2007-07-01 Thread Oleg Verych
* Date: Mon, 11 Jun 2007 14:24:24 + (UTC) > Yet arithmetic ones are still with them: > >|-*- > [EMAIL PROTECTED]:/tmp$ bash -c "test '' -eq 0 ; echo \$?" > bash: line 0: test: : integer expression expected > 2 > [EMAIL PROTECTED]:/tmp$ dash -c "test '' -eq 0 ; echo \$?" > 0 > [EMAIL

The Shell: arithmetic comparison with void

2007-06-11 Thread Oleg Verych
If was time, where string comparisons with void were ... with features. |-*- if [ "x$a" = 'x|' ]; then |-*- Yet arithmetic ones are still with them: |-*- [EMAIL PROTECTED]:/tmp$ bash -c "test '' -eq 0 ; echo \$?" bash: line 0: test: : integer expression expected 2 [EMAIL PROTECTED]:/t