Add note about messages going to STDERR and the implication for piping

This commit is contained in:
Micah Jerome Ellison 2023-07-10 15:08:03 -07:00
parent 7a9bc929a5
commit e689aeb42f

View file

@ -117,6 +117,11 @@ These formats are mainly intended for piping or exporting your journal to other
programs. Even so, they can still be used in the same way as any other format (like
written to a file, or displayed in your terminal, if you want).
!!! note
While you may see boxed messages like "2 entries found" when using these formats,
those messages are exported to STDERR instead of STDOUT, and won't be piped when
using the `|` operator.
### JSON
``` sh