From owner-cvs-all@FreeBSD.ORG Sun May 4 22:34:48 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F46E37B41F; Sun, 4 May 2003 22:34:48 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3725A43F85; Sun, 4 May 2003 22:34:47 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h455YkA7040475; Sun, 4 May 2003 23:34:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 04 May 2003 23:33:36 -0600 (MDT) Message-Id: <20030504.233336.37439629.imp@bsdimp.com> To: ru@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20030504072614.GA71034@sunbay.com> References: <200305040414.h444EB9a015741@repoman.freebsd.org> <20030504072614.GA71034@sunbay.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 05:34:48 -0000 In message: <20030504072614.GA71034@sunbay.com> Ruslan Ermilov writes: : awk '$1 == "#define" && $2 == "__FreeBSD_version" { print $3 }' /usr/include/osreldate.h awk '/^#d.*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h is a lot shorter. OSRELDATE!=awk '/^\#d.*__FreeBSD_version/ { print $$3 }' /usr/include/osreldate.h should do the trick. Not sure that's the right thing to commit, however... I wanna sleep on it... Warner