cvs commit: src Makefile.inc1
M. Warner Losh
imp at bsdimp.com
Sun May 4 22:34:48 PDT 2003
In message: <20030504072614.GA71034 at sunbay.com>
Ruslan Ermilov <ru at FreeBSD.org> 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
More information about the cvs-src
mailing list