On Friday, June 4, 2021 at 8:37:08 PM UTC+7 Martin Michlmayr wrote:

> * Perl Ancar <[email protected]> [2021-06-04 05:47]: 
> > ledger points out the wrong entry (probably the next entry with 
> > multiple commas) when there is a misplaced comma. Example: 
>
> Ledger uses the first entry to figure out the format, so if the first 
> entry is wrong you don't have a guarantee where an error will occur. 
>
> Look at the ledger output for these to see how ledger interprets your 
> format: 
>
> 2021/01/06 entry1 
> assets:cash:savings:bca 200,0000 IDR 
> assets:cash:dana 
>
> 2021/01/06 entry2 
> assets:cash:savings:bca 100,000 IDR 
> assets:cash:dana 
>
> 2021/01/06 entry4 
> assets:cash:savings:bca 1 IDR 
> assets:cash:dana 
>

Hi Martin,

What command do you use to show how Ledger parses a file, like the above?

Regards,
perlancar

-- 

--- 
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/6161434e-7c0f-41d2-aa68-91e4b984ac40n%40googlegroups.com.

Reply via email to