Skip to content

Commit

Permalink
Add note about messages going to stderr and the implication for pip…
Browse files Browse the repository at this point in the history
…ing (#1768)

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

* Minor wording change

* Wording and capitalization changes
  • Loading branch information
micahellison authored Jul 15, 2023
1 parent 7a9bc92 commit c6b9114
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
You may see boxed messages like "2 entries found" when using these formats, but
those messages are written to `stderr` instead of `stdout`, and won't be piped when
using the `|` operator.

### JSON

``` sh
Expand Down

0 comments on commit c6b9114

Please sign in to comment.