From owner-cvs-all Sat Jul 29 22:28:50 2000 Delivered-To: cvs-all@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id 1F09437B8F6; Sat, 29 Jul 2000 22:28:41 -0700 (PDT) (envelope-from jazepeda@pacbell.net) Received: from ppp-207-214-149-83.snrf01.pacbell.net ([207.214.149.83]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FYH00687WDL98@mta5.snfc21.pbi.net>; Sat, 29 Jul 2000 22:25:00 -0700 (PDT) Date: Sat, 29 Jul 2000 22:26:31 -0700 (PDT) From: Alex Zepeda Subject: Re: cvs commit: ports/x11/kde2 Makefile In-reply-to: X-Sender: alex@zippy.pacbell.net To: The Hermit Hacker Cc: Alex Zepeda , Will Andrews , Will Andrews , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG 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 On Sun, 30 Jul 2000, The Hermit Hacker wrote: > > 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 :) X -version 2|blah should do it with sh. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message