From owner-freebsd-stable Sat Aug 10 8:24:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B612337B400 for ; Sat, 10 Aug 2002 08:24:35 -0700 (PDT) Received: from tp.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA59943E6A for ; Sat, 10 Aug 2002 08:24:34 -0700 (PDT) (envelope-from barney@databus.com) Received: from databus.com (localhost.databus.com [127.0.0.1]) by tp.databus.com (8.12.5/8.12.5) with ESMTP id g7AFOYCi039848 for ; Sat, 10 Aug 2002 11:24:34 -0400 (EDT) (envelope-from barney@databus.com) Received: (from barney@localhost) by databus.com (8.12.5/8.12.5/Submit) id g7AFOYjf039847 for freebsd-stable@FreeBSD.ORG; Sat, 10 Aug 2002 11:24:34 -0400 (EDT) Date: Sat, 10 Aug 2002 11:24:34 -0400 From: Barney Wolff To: freebsd-stable@FreeBSD.ORG Subject: Re: Keychain (shell script) does not want to play with /bin/sh Message-ID: <20020810152434.GA39540@tp.databus.com> References: <20020810081831.F278-100000@veager.jwweeks.com> <200208101422.g7AEMtTS098512@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208101422.g7AEMtTS098512@lurza.secnetix.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mklocate runs only once a week, that's why. Should all changes soak for a full week? What about periodic/monthly? We should count our blessings, not snipe at volunteers who do an incredible job. The problem is not || at the end of a line with no \ - that's perfectly legal and still works. The problem is || at the beginning of a line with no prior line continuation. That's never been legal and never should have worked (and never did in pdksh). On Sat, Aug 10, 2002 at 04:22:55PM +0200, Oliver Fromme wrote: > > > /usr/libexec/locate.mklocatedb: 87: Syntax error: "||" unexpected > > There's no doubt that there's a syntax error in that file > (a backslash is missing for line continuation). > I am _really_ suprised that nobody stumbled across that > error before. > > > At this point I'm not sure what the answer might be, wait untill things > > break and then fix them? > > Sure, what else could be done? Well, you could grep all > scripts on the box for that particular kind of error, i.e. > "||" at the end of a line (modulo whitespace). -- Barney Wolff I'm available by contract or FT: http://www.databus.com/bwresume.pdf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message