Subject: Re: /bin/expr has a bug
To: None <carrel@cisco.com>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-bugs
Date: 07/10/1994 10:53:35
> > Environment:
> NetBSD 1.0 (supped 10 July 1994)
> hp300
>
> >Description:
> expr is supposed to use the colon (`:') to indicate that a regular
> expression is to be performed and print the number of matching characters.
> The return status should indicate whether any match was found. But expr
> ALWAYS prints `0' and returns status 1.
Your test cases work fine on the i386. Anyone with another big endian
machine care to test this out? I want to know if this is a hp, or big
endian problem, as it is probably in the regular expression routines
themselves.
--jtc
------------------------------------------------------------------------------