Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2000 22:26:31 -0700 (PDT)
From:      Alex Zepeda <jazepeda@pacbell.net>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        Alex Zepeda <jazepeda@pacbell.net>, 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.0007292225550.29252-100000@zippy.pacbell.net>
In-Reply-To: <Pine.BSF.4.21.0007300216080.570-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Jul 2000, The Hermit Hacker wrote:

> 
> 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 :)

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007292225550.29252-100000>