Date: Tue, 6 Aug 2002 16:29:18 -0600 (MDT) From: "C.J." <clayton@frii.net> To: freebsd-stable@freebsd.org Subject: /bin/sh changed? Message-ID: <Pine.BSF.4.44.0208061621470.93936-100000@elara.frii.com>
next in thread | raw e-mail | index | archive | help
cvsup @11:45MDT - RELENG_4 Noticed quite by accident: root@host (/root) # /usr/libexec/locate.updatedb /usr/libexec/locate.mklocatedb: 87: Syntax error: "||" unexpected From /usr/libexec/locate.mklocatedb line 87: perl -ne '/^\s*[0-9]+\s(..)$/ && print $1 || exit 1' > $bigrams || exit 1 It looks as if, by my extremely limited knowledge of /bin/sh, if you wrap the || statement down to the next line the shell can no longer understand since conjoining these two lines solves the problem. I can see where this is going to be a huge pain in the butt on the rest of my boxes. Was this change intentional? - C.J. 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?Pine.BSF.4.44.0208061621470.93936-100000>