Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 1995 00:12:06 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        nagashim@nirim.go.jp (Takashi Nagashima)
Cc:        bugs@freebsd.org
Subject:   Re: expr command
Message-ID:  <199511172312.AAA17917@uriah.heep.sax.de>
In-Reply-To: <199511160455.NAA01252@usagi.nirim.go.jp> from "Takashi Nagashima" at Nov 16, 95 01:55:31 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Takashi Nagashima wrote:
> 
> 
> FreeBSD 2.1.0-950928-SNAP
> 
> 	expr 0000 : '\(....\)'
> 	result>		<-- No print

> SunOS 4.1.3, SunOS 5.3, DEC OSF/1 V2.0, BSDI BSD/OS 2.0.1
> 
> 	expr 0000 : '\(....\)'
> 	result>	0000

> Is this a bug ?

Definately, yes.

My fault.  I fixed the bogus numerical comparisions (``expr 0000 \<
1'' wasn't `true'), but apparently broke the colon operator by this.

Thank'ya for reporting it.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511172312.AAA17917>