From owner-freebsd-bugs Thu Nov 30 17:10:06 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10316 for bugs-outgoing; Thu, 30 Nov 1995 17:10:06 -0800 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA10282 ; Thu, 30 Nov 1995 17:10:03 -0800 Resent-Date: Thu, 30 Nov 1995 17:10:03 -0800 Resent-Message-Id: <199512010110.RAA10282@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, wagner@luthien.in-berlin.de Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA09916 for ; Thu, 30 Nov 1995 17:03:01 -0800 Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from bolzen.in-berlin.de (194.94.235.1) with smtp id ; Fri, 1 Dec 95 02:02 MET Received: by bolzen.in-berlin.de (Smail3.1.29.1 #3) id m0tLJrZ-0007ScC; Fri, 1 Dec 95 02:02 GMT+0100 Received: by luthien.in-berlin.de (8.6.12/1.34) id AAA22165; Fri, 1 Dec 1995 00:00:07 +0100 Message-Id: <199511302300.AAA22165@luthien.in-berlin.de> Date: Fri, 1 Dec 1995 00:00:07 +0100 From: wagner@luthien.in-berlin.de Reply-To: wagner@luthien.in-berlin.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/855: /bin/expr broken in 2.1.0-RELEASE Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 855 >Category: bin >Synopsis: /bin/expr broken in 2.1.0-RELEASE >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 30 17:10:02 PST 1995 >Last-Modified: >Originator: Olaf Wagner >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: >Description: The ':'-operator fails for certain regular expressions (see below). Due to this failure several scripts of the cnews-distribution (eg. upact and recovact) produced an corrupted active file with one missing field. It took me some time to isolate the problem and to recover all the news data... >How-To-Repeat: [/usr/lib/news] root % expr "1111111111" : '.*\('$dots'\)$ ' 1111111111 [/usr/lib/news] root % expr "0000000000" : '.*\('$dots'\)$ ' [/usr/lib/news] root % >Fix: As I don't have any more time to have a look at the sources, I will install /bin/expr from the 2.0.5 distribution, wich worked correctly. >Audit-Trail: >Unformatted: