public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tail -f c:\file.log" | sed -n -e "/error/p"             -not working
@ 2001-01-05  1:31 Nush Pera
  2001-01-05  6:58 ` Larry Hall (RFK Partners, Inc)
  2001-01-05 17:16 ` Bob McGowan
  0 siblings, 2 replies; 3+ messages in thread
From: Nush Pera @ 2001-01-05  1:31 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-05 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05  1:31 tail -f c:\file.log" | sed -n -e "/error/p" -not working Nush Pera
2001-01-05  6:58 ` Larry Hall (RFK Partners, Inc)
2001-01-05 17:16 ` Bob McGowan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).