From owner-freebsd-questions Thu Aug 8 04:08:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA29832 for questions-outgoing; Thu, 8 Aug 1996 04:08:34 -0700 (PDT) Received: from mailgate.nation-net.com ([194.159.125.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA29827 for ; Thu, 8 Aug 1996 04:08:31 -0700 (PDT) Received: from mag.nation-net.com (194.159.125.14) by mailgate.nation-net.com with SMTP (Apple Internet Mail Server 1.0); Thu, 8 Aug 1996 12:10:42 +0000 Message-ID: <3209CA63.5B33@nation-net.com> Date: Thu, 08 Aug 1996 12:07:15 +0100 From: Paul Walsh X-Mailer: Mozilla 2.0 (Win95; I) MIME-Version: 1.0 To: questions@freebsd.org Subject: Optimising glimpse with cgi Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm using a simple perl script cgi to talk with glimpse from the web , searching through about 7 Mb of documents. Everything's fine and very fast until you search for silly things like 'the' or 'and'. Because I have to send glimpse the -y flag I can't use the exclude common words feature, hence every file gets grepped.(ahhh) Would anyone know how to intercept glimpse's standrd output , check how much of the filespace is to be searched and then allow it to proceed (or exit) with the appropriate 'yes' or 'no' instead of just using -y? Thanks Paul Walsh. (PS Is there a glimpse forum?) -- paul@nation-net.com Walsh Simmons 0161-839 9337 Manchester, UK