From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: Nush Pera <nushp@usa.net>, cygwin@cygwin.com
Subject: Re: tail -f c:\file.log" | sed -n -e "/error/p" -not working
Date: Fri, 05 Jan 2001 06:58:00 -0000 [thread overview]
Message-ID: <4.3.1.2.20010105095240.00a8cc08@pop.ma.ultranet.com> (raw)
In-Reply-To: <20010105093103.8551.qmail@nw175.netaddress.usa.net>
At 04:31 AM 1/5/2001, Nush Pera wrote:
>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?
tail -1 c:\file.log | sed -n -e "/error/p", no?
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2001-01-05 6:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-05 1:31 Nush Pera
2001-01-05 6:58 ` Larry Hall (RFK Partners, Inc) [this message]
2001-01-05 17:16 ` Bob McGowan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.3.1.2.20010105095240.00a8cc08@pop.ma.ultranet.com \
--to=lhall@rfk.com \
--cc=cygwin@cygwin.com \
--cc=nushp@usa.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).