stdout and stderr are getting mixed up?

Heinz Junkes junkes at fhi-berlin.mpg.de
Tue Jul 4 07:31:31 UTC 2017


If I run the test program provided by you

like this

./test
there is no mix up in the output.

./test 2>&1
no mix up in the output

./test 2>&1 | more
no mix up in the output

./test 2>&1 | grep ab
output is mixed up.



> On 04 Jul 2017, at 07:01, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
> 
> I get the mixed output also on FreeBSD.
> 
> -- 
> Sebastian Huber, embedded brains GmbH
> 
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2593 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20170704/d7304064/attachment-0002.bin>


More information about the users mailing list