Subject: bin/10995: expr(1) barfs on regexp
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian de Alwis <bsd@fifty.cs.ubc.ca>
List: netbsd-bugs
Date: 09/11/2000 18:42:15
>Number: 10995
>Category: bin
>Synopsis: expr(1) barfs on regexp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 11 18:41:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Brian de Alwis
>Release: NetBSD 1.5_ALPHA2
>Organization:
Dept of CS, University of British Columbia
>Environment:
NetBSD 1.5_ALPHA2 from ftp.NetBSD.org; i386
System: NetBSD fifty 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (GENERIC) #2: Mon Aug 21 19:17:53 MEST 2000 fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC i386
>Description:
expr(1) barfs on a seemingly valid regexp, complaining about
a syntax error. The Solaris expr(1) complains similarly, though
linux's expr(1) does not. This was found in Sun's JDK 1.2.2 for
Linux's scripts.
>How-To-Repeat:
$ expr f : /
expr: syntax error
$
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: