bug#13183: tail -f ignores SIGPIPE

2018-10-27 Thread Pádraig Brady
On 15/02/15 11:14, Pádraig Brady wrote: > On 14/12/12 14:33, Pádraig Brady wrote: >> tag 13183 + notabug >> close 13183 >> stop >> >> On 12/14/2012 02:04 PM, Ruediger Meier wrote: >>> Hi, >>> >>> I want to use tail and grep to follow a file until a particular pattern >>> appears. But tail does not

bug#13183: tail -f ignores SIGPIPE

2015-02-15 Thread Pádraig Brady
On 14/12/12 14:33, Pádraig Brady wrote: > tag 13183 + notabug > close 13183 > stop > > On 12/14/2012 02:04 PM, Ruediger Meier wrote: >> 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 > /tm

bug#13183: tail -f ignores SIGPIPE

2012-12-14 Thread Pádraig Brady
tag 13183 + notabug close 13183 stop On 12/14/2012 02:04 PM, Ruediger Meier wrote: 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" x

bug#13183: tail -f ignores SIGPIPE

2012-12-14 Thread Ruediger Meier
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.