Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 05:12:10 -0700 (PDT)
From:      Robin Smith <rasmith@tamu.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/41445: small error in /usr/libexec/locate.mklocatedb
Message-ID:  <200208081212.g78CCAQf016896@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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' &gt; $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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208081212.g78CCAQf016896>