This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
tail -f c:\file.log" | sed -n -e "/error/p" -not working
- To: cygwin at cygwin dot com
- Subject: tail -f c:\file.log" | sed -n -e "/error/p" -not working
- From: Nush Pera <nushp at usa dot net>
- Date: 5 Jan 2001 10:31:03 MET
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