From owner-freebsd-questions Thu Aug 8 8: 2:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78ED737B400 for ; Thu, 8 Aug 2002 08:02:09 -0700 (PDT) Received: from horkos.telenet-ops.be (horkos.telenet-ops.be [195.130.132.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCD243E4A for ; Thu, 8 Aug 2002 08:02:07 -0700 (PDT) (envelope-from keanu@keanu.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by horkos.telenet-ops.be (Postfix) with SMTP id CAB8684282 for ; Thu, 8 Aug 2002 17:01:34 +0200 (CEST) Received: from jessica.keanu.be (unknown [213.118.200.84]) by horkos.telenet-ops.be (Postfix) with ESMTP id 5682D83CDA for ; Thu, 8 Aug 2002 17:01:24 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" From: keanu To: freebsd-questions@freebsd.org Subject: locate.updatedb problem Date: Thu, 8 Aug 2002 17:01:43 +0200 User-Agent: KMail/1.4.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208081701.43197.keanu@keanu.be> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG after a world/kernel update, my updatedb no longer works <~> /usr/libexec/locate.updatedb /usr/libexec/locate.mklocatedb: 87: Syntax error: "||" unexpected <~> cat /usr/libexec/locate.mklocatedb 85: $bigram < $filelist | $sort -nr | 86: perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigram= s 87: || exit 1 88: $code $bigrams < $filelist || exit 1 (FreeBSD jessica.keanu.be 4.6-STABLE FreeBSD 4.6-STABLE #3: Wed Aug 7=20 20:09:04 CEST 2002 keanu@jessica.keanu.be:/usr/obj/usr/src/sys/Jessic= a =20 i386) anyone else had this problem? any way to fix it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message