Subject: bin/4187: expr: syntax error
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: netbsd-bugs
Date: 09/29/1997 18:15:49
>Number: 4187
>Category: bin
>Synopsis: expr: syntax error
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 29 09:20:04 1997
>Last-Modified:
>Originator: Lennart Augustsson
>Organization:
Department of Computing Science, Chalmers University
>Release: NetBSD-current 970921
>Environment:
System: NetBSD calvin 1.2G NetBSD 1.2G (CALVIN) #174: Sun Sep 21 23:30:49 CEST 1997 augustss@calvin:/users/NetBSD/src/sys/arch/i386/compile/CALVIN i386
>Description:
Our expr reports a syntax error where other exprs seem to be
happy. I don't know what POSIX says, so I don't know if
this is really a bug.
I found the offending code in Sun's JDK.
>How-To-Repeat:
Try
expr a : /
and you'll get
expr: syntax error
>Fix:
If this is really a bug I can fix it.
>Audit-Trail:
>Unformatted: