From owner-freebsd-bugs Fri Nov 17 15:18:59 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA05459 for bugs-outgoing; Fri, 17 Nov 1995 15:18:59 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA05421 for ; Fri, 17 Nov 1995 15:18:33 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA19988; Sat, 18 Nov 1995 00:18:21 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA07405; Sat, 18 Nov 1995 00:18:18 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id AAA17917; Sat, 18 Nov 1995 00:12:06 +0100 From: J Wunsch Message-Id: <199511172312.AAA17917@uriah.heep.sax.de> Subject: Re: expr command To: nagashim@nirim.go.jp (Takashi Nagashima) Date: Sat, 18 Nov 1995 00:12:06 +0100 (MET) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511160455.NAA01252@usagi.nirim.go.jp> from "Takashi Nagashima" at Nov 16, 95 01:55:31 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 587 Sender: owner-bugs@freebsd.org Precedence: bulk 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. ;-)