Date: Sun, 17 Oct 1999 15:15:57 +0900 From: Shigio Yamaguchi <shigio@tamacom.com> To: hackers@FreeBSD.ORG Cc: shigio@tamacom.com Subject: Re: Search a symbol in the source tree Message-ID: <199910170615.PAA16821@tamacom.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910170615.PAA16821>