bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #35022] Grep jumbles output nondeterministically


From: Paolo Bonzini
Subject: [bug #35022] Grep jumbles output nondeterministically
Date: Fri, 09 Dec 2011 08:14:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Update of bug #35022 (project grep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

The problem is that output to stdout is done by one process (the second grep)
and output to stderr is done by another (the first grep).  Under these
conditions it is not possible to combine the two outputs deterministically.

If you do

( grep -rn redirect test/ | grep -v assert ) > stdout 2> stderr
cat stdout
cat stderr

You can see that the output is correct.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35022>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]