On Sat, 14 Dec 2019 at 08:33, psionl0 <[email protected]> wrote:
> I expected this to be a text based program. After the nasty formatting
> surprises, I had to research how to strip all of these formatting characters
> out of the output stream. Otherwise, it is useless if I want to feed the
> output into another display program.
I just tried this:
$ ledger balance
(got a colorful report in pager)
$ ledger balance|cat
(got a plain report, no pager)
which shows that if you feed the output to another program, it skips
formatting. (My .ledgerrc does not mention either --color or --pager.)
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/CAP_d_8Uz9FZ6TH%3DJnGYfnETOFGqoZBN7QZaTohHg-YAk0aChBA%40mail.gmail.com.