Danek Duvall <[EMAIL PROTECTED]> writes:
> On Mon, Mar 24, 2003 at 01:25:26PM -0800, Michael Han wrote:
> 
> > On Mon, Mar 24, 2003 at 04:18:59PM -0500, Dan Espen wrote:
> > >      Command               Result in /bin/ksh   Result in /usr/xpg4/bin/s
> h
> > >      echo $((010+10 ))     20                   18
> > >      echo $((010+10 ))     29                   error
> > >      [ 10 -le $((011)) ]   true                 false
> > 
> > I'm guessing that's a typo and that the second command should read:
> > 
> > echo $((019+10 ))
> 
> Yup.  I filed a bug against that, as well as against the typo in the
> popen(3c) page.

How about a bug report for the lack of posix compliance in /bin/sh?
Or is it a compiler issue or popen?

Both my HP and AIX systems have no trouble with arithmetic in
/bin/sh.  Solaris seems to be the odd man out.

-- 
Dan Espen                           E-mail: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to