From owner-freebsd-questions Fri Feb 1 19:11:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 1863B37B41D for ; Fri, 1 Feb 2002 19:11:10 -0800 (PST) Received: from hades.hell.gr (patr530-a093.otenet.gr [212.205.215.93]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g123B6LA009045; Sat, 2 Feb 2002 05:11:07 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g123B5u07384; Sat, 2 Feb 2002 05:11:05 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 2 Feb 2002 05:11:04 +0200 From: Giorgos Keramidas To: Cliff Sarginson Cc: freebsd-questions@freebsd.org Subject: Re: CVSup release info Message-ID: <20020202031103.GD4473@hades.hell.gr> References: <20020131031616.GA73680@hades.hell.gr> <047201c1aa24$6423d8e0$b300a8c0@wenk> <20020131155938.GA1512@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020131155938.GA1512@raggedclown.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-01-31 16:59, Cliff Sarginson wrote: > > : > > : $ ( echo '#include ' ; echo __FreeBSD_version ) ... > > : #include > > : __FreeBSD_version > > Mmm, I hate to be a killjoy, couldn't you do this with grep ? > Just a passing thought :) True. But I like being an elaborate masochist :P Finding an almost reasonable excuse, the only case where using cpp instead of grep, would be a better way is if the system headers are not in /usr/include/sys but some other location. Since I don't know if this is even possible, you're right I guess. -- Giorgos Keramidas . . . . . . . . . keramida@{ceid.upatras.gr,freebsd.org} FreeBSD Documentation Project . . . http://www.freebsd.org/docproj/ FreeBSD: The power to serve . . . . http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message