Re: bsdgrep does not work with tail -f | grep combination

2010-08-18 Thread poyopoyo
Hi Gabor and others, As Gabor committed r211364, bsdgrep now works nicely with tail -f. http://svn.freebsd.org/changeset/base/211364 Thank you very much. -- kuro ___ freebsd-current@freebsd.org mailing list

Re: bsdgrep does not work with tail -f | grep combination

2010-08-18 Thread Gabor Kovesdan
Em 2010.08.18. 7:42, poyop...@puripuri.plala.or.jp escreveu: Hi Gabor and others, As Gabor committed r211364, bsdgrep now works nicely with tail -f. http://svn.freebsd.org/changeset/base/211364 Thank you very much. Acknowledgements also go to you and other users. Without quality feedback I

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread jhell
On 08/03/2010 14:21, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no output] otherterm$ jot 10 /tmp/1 [no output to

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Alexandre Sunny Kovalenko
On Tue, 2010-08-03 at 20:21 +0200, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no output] otherterm$

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Lars Engels
On Wed, Aug 04, 2010 at 10:51:08AM -0400, Alexandre Sunny Kovalenko wrote: On Tue, 2010-08-03 at 20:21 +0200, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728.

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread freebsd-lists-erik
On Wed, Aug 04, 2010 at 06:28:10PM +0200, Lars Engels wrote: On Wed, Aug 04, 2010 at 10:51:08AM -0400, Alexandre Sunny Kovalenko wrote: On Tue, 2010-08-03 at 20:21 +0200, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Alexey Shuvaev
On Wed, Aug 04, 2010 at 06:28:10PM +0200, Lars Engels wrote: On Wed, Aug 04, 2010 at 10:51:08AM -0400, Alexandre Sunny Kovalenko wrote: On Tue, 2010-08-03 at 20:21 +0200, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread pluknet
On 4 August 2010 20:28, Lars Engels lars.eng...@0x20.net wrote: On Wed, Aug 04, 2010 at 10:51:08AM -0400, Alexandre Sunny Kovalenko wrote: On Tue, 2010-08-03 at 20:21 +0200, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Sean C. Farley
On Tue, 3 Aug 2010, Gabor Kovesdan wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no output] otherterm$ jot 10 /tmp/1 [no output to

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/08/03 11:21, Gabor Kovesdan wrote: I've checked on 8.0 and GNU grep doesn't output anything either for me. If you use tail -f, you will enter more lines and end it with EOF, won't you? And then BSD grep will process the input and print

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Bakul Shah
On Tue, 03 Aug 2010 20:21:56 +0200 Gabor Kovesdan ga...@freebsd.org wrote: Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Gabor Kovesdan
Em 2010.08.04. 20:06, Xin LI escreveu: I'm able to reproduce the GNU behavior on 9.0-CURRENT which is IMO right. I think we need to break at the line end to provide better interactivity (the current code seems to do it (buffer is not full !eof), while what we wanted is (buffer is not full

Re: bsdgrep does not work with tail -f | grep combination

2010-08-04 Thread Doug Barton
On 08/04/10 11:18, Bakul Shah wrote: bsdgrep when used this way doesn't quit but doesn't do anything either (including printing what tail -f spits out from existing file data). Does adding --line-buffered to the grep command line change the behavior at all? -- Improve the

bsdgrep does not work with tail -f | grep combination

2010-08-03 Thread poyopoyo
Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no output] otherterm$ jot 10 /tmp/1 [no output to term0] = with GNU grep: term0$ tail -f /tmp/1 | gnugrep 0 10 otherterm$ jot 10 /tmp/1 [on term0] 10

Re: bsdgrep does not work with tail -f | grep combination

2010-08-03 Thread Gabor Kovesdan
Em 2010.08.03. 19:25, poyop...@puripuri.plala.or.jp escreveu: Hi, It seems bsdgrep does not work when piped from tail -f. I'm running r210728. term0$ jot 10 /tmp/1 term0$ tail -f /tmp/1 | grep 0 [no output] otherterm$ jot 10 /tmp/1 [no output to term0] = with GNU grep: term0$ tail -f