Interleaving issue

Werner Koch wk at gnupg.org
Mon Mar 13 17:38:09 CET 2017


On Sun, 12 Mar 2017 17:36, rjh at sixdemonbag.org said:

> sig!3        1DCBDC01B44427C7 2015-07-16  Robert J. Hansen <rjh at sixdgpg:

This is the regular output and goes to stdout.

> 14 good signatures

This is a diagnostic which goes to stderr.

The former is fully buffered, the latter is line buffered.  From a
technical view this is all correct but I agree that it is a bit
annoying.  I'll add a fflush right before the stats output which solves
it for this case.  In the meantime you may run

  stdbuf -oL gpg GPGARGS

to also line buffer stdout.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170313/8bbe0603/attachment.sig>


More information about the Gnupg-users mailing list