From owner-freebsd-hackers Sat Oct 16 23:19:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.dti.ne.jp (smtp.dti.ne.jp [210.170.128.120]) by hub.freebsd.org (Postfix) with ESMTP id D08B114EE5 for ; Sat, 16 Oct 1999 23:19:12 -0700 (PDT) (envelope-from shigio@tamacom.com) Received: from choota.signet.or.jp (PPP128.tama-ap5.dti.ne.jp [210.170.192.164]) by smtp.dti.ne.jp (8.9.0/3.7W) with ESMTP id PAA29721; Sun, 17 Oct 1999 15:19:09 +0900 (JST) Received: from choota.signet.or.jp (localhost [127.0.0.1]) by choota.signet.or.jp (8.8.8/) with ESMTP id PAA16821; Sun, 17 Oct 1999 15:15:57 +0900 (JST) Message-Id: <199910170615.PAA16821@tamacom.com> To: hackers@FreeBSD.ORG Cc: shigio@tamacom.com Subject: Re: Search a symbol in the source tree Date: Sun, 17 Oct 1999 15:15:57 +0900 From: Shigio Yamaguchi Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote: > > Looking for where "utmp.h" is used: > > > > global -x -s utmp.h > > > > This takes more than 2212 seconds (over 36 minutes!), and outputs > > It seems that something wrong (bug?) occurred. > Would you please tell me the version of FreeBSD and GLOBAL? A structural problem was found in GLOBAL. I will optimize it. Thanks Darryl for his report. [work around] When you use regular expressions, please put prefix '^' to it like: global -x -s '^utmp.h' '.' is a regular expression which means any character. So, 'utmp.h' will match with 'aaautmpbhccc'. The '^' enables global to use index effectively. -- Shigio Yamaguchi - Tama Communications Corporation Mail: shigio@tamacom.com, WWW: http://www.tamacom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message