Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 21:52:55 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        kip@lyris.com
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: open files
Message-ID:  <19990615215254.A8122@rainbow5.scientia.demon.co.uk>
In-Reply-To: <Pine.SOL.4.05.9906151058580.17109-100000@luna>
References:  <xzpemjeeyyj.fsf@flood.ping.uio.no> <Pine.SOL.4.05.9906151058580.17109-100000@luna>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990615215254.A8122>