From owner-freebsd-stable Tue Jun 15 14:44:54 1999 Delivered-To: freebsd-stable@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 0227514E34 for ; Tue, 15 Jun 1999 14:44:37 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from rainbow5.scientia.demon.co.uk ([192.168.1.2] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.02 #1) id 10u0Ca-0009fB-00; Tue, 15 Jun 1999 21:53:00 +0100 (envelope-from ben@rainbow5.scientia.demon.co.uk) Received: from rainbow5.scientia.demon.co.uk (ident=ben) by rainbow5.scientia.demon.co.uk with local (Exim 3.02 #1) id 10u0CV-00027d-00; Tue, 15 Jun 1999 21:52:55 +0100 (envelope-from ben@rainbow5.scientia.demon.co.uk) Date: Tue, 15 Jun 1999 21:52:55 +0100 From: Ben Smithurst To: kip@lyris.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: open files Message-ID: <19990615215254.A8122@rainbow5.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG kip@lyris.com wrote: > find . -name "*" | xargs grep "SYSCTL\." What's that backslash for? DES didn't tell you to put that in the regular expression. Quite why you are typing `find . -name "*"' rather than just `find .', is also unclear. > find . -name "*" | xargs grep "SYSCTL\.*maxfiles" Try, find . | xargs grep "SYSCTL.*maxfiles" (from /usr/src/sys of course) > don't find anything, just searching for SYSCTL ends up searching through > binaries. Check grep(1) for what the "-a" option does. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message