Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!uunet!in2.uu.net!news.gtn.com!klemm.gtn.com!usenet
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Kernel Options
Date: 23 Nov 1996 19:46:37 GMT
Organization: FreeBSD makes fun
Lines: 21
Message-ID: <577kat$3n2@klemm.gtn.com>
References: <3290322c.45152134@netnews.hinet.net> <nFd6Lo0@quack.kfu.com>
<56tge1$am3@uriah.heep.sax.de>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
In article <56tge1$am3@uriah.heep.sax.de>,
j@uriah.heep.sax.de (J Wunsch) writes:
> Something like the following script might get you all the options:
>
> find /usr/src -name '*.c' | grep -E '^#(ifdef|if[ ]+defined)' | sort -u
^^ ^^
find /usr/src/sys -name '*.c' \
| xargs grep -E '^#(ifdef|if[ ]+defined)' \
| sort -u
To make it work for the impatient and unexperienced ;-)
BTW: 1422 lines in FreeBSD-current as of today ;))
--
andreas@klemm.gtn.com /\/\___ Wiechers & Partner
Datentechnik GmbH
Andreas Klemm ___/\/\/ Support Unix -- andreas.klemm@wup.de
pgp p-key http://www-swiss.ai.mit.edu/~bal/pks-toplev.html >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz >>> FreeBSD <<<