On Thu, Dec 9, 2010 at 10:37 AM, Karel Gardas <karel.gar...@centrum.cz> wrote:
> Hello,
> thanks for your reply. I'm trying to reproduce the same error on vanilla 
> 2010.11 installation and to my surprise I'm not able to. What I need to do is:
>
> export PATH=/usr/xpg4/bin:$PATH
>
> and then I'm able to reproduce this error with our testsuite, but I'm not yet 
> able to simplify it to the simple shell test.

Yes, because it's a buffering issue. It will not happen if the
application pushes all three lines in one step but it will happen if
each line is send+|fflush()|'ed individually. I had fun with that the
whole right.

> Anyway, one important thing is that if I replace grep with ggrep and so I 
> don't use grep from /usr/xpg4/bin/grep, but usual GNU grep. The issue is 
> fixed. The same happen if I use grep from /usr/bin then there is no issue. It 
> looks like just grep from xpg4 causes this empty line discarding...

I can reproduce the issue... fix is under testing, together with the
Illumos work for "grep -r" ...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to