Date: Sat, 10 Aug 2002 11:24:34 -0400 From: Barney Wolff <barney@tp.databus.com> 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> In-Reply-To: <200208101422.g7AEMtTS098512@lurza.secnetix.de> References: <20020810081831.F278-100000@veager.jwweeks.com> <200208101422.g7AEMtTS098512@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020810152434.GA39540>