delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <20010105093103.8551.qmail@nw175.netaddress.usa.net> |
Date: | 5 Jan 2001 10:31:03 MET |
From: | Nush Pera <nushp AT usa DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | tail -f c:\file.log" | sed -n -e "/error/p" -not working |
X-Mailer: | USANET web-mailer (34FM.0700.15.02) |
Mime-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id EAA06900 |
Hello! When I use the command: tail -f c:\file.log | sed -n -e "/error/p" for see if exist some "error" in the last lines of log file c:\file.log it doesn't work. If I use tail -10 c:\file.log | sed -n -e "/error/p" this work but I'm interested to see if the last line it is with "error" text and when it is I want to execute an exe file. How do I do that? Thanks a lot ! ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |