[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13183: tail -f ignores SIGPIPE
From: |
Ruediger Meier |
Subject: |
bug#13183: tail -f ignores SIGPIPE |
Date: |
Fri, 14 Dec 2012 15:04:28 +0100 |
User-agent: |
KMail/1.9.10 |
Hi,
I want to use tail and grep to follow a file until a particular pattern
appears. But tail does not exit when grep is finished.
$ echo xxx > /tmp/blabla
$ tail -f /tmp/blabla |grep -m1 --line-buffered "xxx"
xxx
Now tail still tries to read and exits only if I write again
into /tmp/blabla.
Is this how it's supposed to be?
cu,
Rudi
- bug#13183: tail -f ignores SIGPIPE,
Ruediger Meier <=