From owner-freebsd-questions@FreeBSD.ORG Sun Jul 25 02:58:35 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59BEC106566C for ; Sun, 25 Jul 2010 02:58:34 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 550CA8FC12 for ; Sun, 25 Jul 2010 02:58:34 +0000 (UTC) Received: from [10.0.10.3] ([202.69.172.205]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 24 Jul 2010 19:58:29 -0700 Message-ID: <4C4BA855.6070100@comclark.com> Date: Sun, 25 Jul 2010 10:58:29 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2010 02:58:29.0250 (UTC) FILETIME=[42529E20:01CB2BA5] X-Sender: fbsd8@a1poweruser.com Cc: Subject: searching INDEX in .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 02:58:35 -0000 I'm looking for a snippet of .sh type shell code that searches the /usr/ports/INDEX-8 file for dependents. Just a pointer to a script in the ports system that has this would be helpful. Thanks