From owner-cvs-all Sat Jul 29 22:20:35 2000 Delivered-To: cvs-all@freebsd.org Received: from thelab.hub.org (nat193.142.mpoweredpc.net [142.177.193.142]) by hub.freebsd.org (Postfix) with ESMTP id C61C837B8F6; Sat, 29 Jul 2000 22:20:30 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id CAA32813; Sun, 30 Jul 2000 02:17:35 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sun, 30 Jul 2000 02:17:35 -0300 (ADT) From: The Hermit Hacker To: Alex Zepeda Cc: Will Andrews , Will Andrews , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/x11/kde2 Makefile In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG or simple perl: perl -e 'while(){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(){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