From owner-freebsd-bugs Thu Aug 8 5:20: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 969B937B400 for ; Thu, 8 Aug 2002 05:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE0FE43E72 for ; Thu, 8 Aug 2002 05:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g78CK1JU014310 for ; Thu, 8 Aug 2002 05:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g78CK1JX014309; Thu, 8 Aug 2002 05:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 774DE37B405 for ; Thu, 8 Aug 2002 05:12:48 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E24443E70 for ; Thu, 8 Aug 2002 05:12:16 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g78CCAOT016897 for ; Thu, 8 Aug 2002 05:12:10 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g78CCAQf016896; Thu, 8 Aug 2002 05:12:10 -0700 (PDT) Message-Id: <200208081212.g78CCAQf016896@www.freebsd.org> Date: Thu, 8 Aug 2002 05:12:10 -0700 (PDT) From: Robin Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/41445: small error in /usr/libexec/locate.mklocatedb Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41445 >Category: misc >Synopsis: small error in /usr/libexec/locate.mklocatedb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 08 05:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Robin Smith >Release: 4.6-STABLE >Organization: Texas A&M University >Environment: FreeBSD philosophy.tamu.edu 4.6-STABLE FreeBSD 4.6-STABLE #3: Thu Jun 27 14:36:10 CDT 2002 rasmith@philosophy.tamu.edu:/usr/obj/usr/src/sys/PHILOSOPHY i386 FreeBSD aristotle.tamu.edu 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jun 27 15:58:24 CDT 2002 root@aristotle.tamu.edu:/usr/obj/usr/src/sys/ARISTOTLE i386 >Description: Update of locate.updatedb dies with syntax error: bash# /usr/libexec/locate.updatedb /usr/libexec/locate.mklocatedb: 87: Syntax error: "||" unexpected >How-To-Repeat: Execute /usr/libexec/locate.updatedb on a system patched to -STABLE as of 2 Aug 2002. >Fix: Delete the newline between lines 86 and 87 of /usr/libexec/locate.mklocatedb so that line 86 becomes: perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams || exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message