Date: Sun, 30 Jul 2000 02:17:35 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: Alex Zepeda <jazepeda@pacbell.net> Cc: Will Andrews <andrews@technologist.com>, Will Andrews <will@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/x11/kde2 Makefile Message-ID: <Pine.BSF.4.21.0007300216080.570-100000@thelab.hub.org> In-Reply-To: <Pine.BSF.4.21.0007292104550.29252-100000@zippy.pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
or simple perl:
perl -e 'while(<STDIN>){if($_ =~ / 4.0 /){print "BROKEN";} }'
the problem is a redirection that I don't know how to do :(
X -version goes to STDERR, so to 'test' the above, I had to do:
X -version >& /tmp/X.v
cat /tmp/X.v | perl -e 'while(<STDIN>){if($_ =~ / 4.0 /){print "BROKEN";} }'
someone better at shell redirects should be able to shorten that though :)
On Sat, 29 Jul 2000, Alex Zepeda wrote:
> On Sat, 29 Jul 2000, The Hermit Hacker wrote:
>
> > make the code that checks for this "overridable" like the BROKEN directive
> > is?
>
> What about X -version? Creative awk use could extract the version #.
>
> - alex
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007300216080.570-100000>
