Subject: standards/11230: POSIX.2: expr doesn't accept "--" option/operand separator (fwd)
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 10/14/2000 10:24:11
>Number:         11230
>Category:       standards
>Synopsis:       POSIX.2: expr doesn't accept "--" option/operand separator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 10:24:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ben Harris
>Release:        2000-02-07
>Organization:
>Environment:
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May  3 23:49:51 BST 2000
     bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc

>Description:
According to POSIX.2, expr should accept and ignore a first argument of
"--".  NetBSD's one doesn't.

>How-To-Repeat:
cromarty:~$ expr -- 1
expr: syntax error

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: