Hello,
Being agnostic to currencies is not a good reason to prevent you from
having default values :)
To answer the initial question, you could add:
------✂--------
commodity EUR
default
------✂--------
at the top of your ledger file, and thus any report with no commodity
will have EUR as commodity (chose your value of EUR of course). This
works for ledger convert in particular
(Mon, Jan 22, 2018 at 03:25:13PM +0000) Dániel Fancsali :
> On Sat, 20 Jan 2018 at 19:13 acobster <[1]
acob...@gmail.com> wrote:
>
> Hi legderers,
>
> When I run `ledger convert` on CSV files with no currency symbol in the
> amounts, it outputs the entries without currency symbols as well. I'd
> like the entries to default to USD. I can of course run an intermediate
> script to add these to the CSV before converting, but it's annoying to
> do this every time. Is there an option for the convert command to do
> this? Alternatively, is there a global configuration/option to tell
> ledger to interpret amounts w/o currencies as USD?
>
> Thanks,
> Coby
>
> --
>
> ---
> 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 [2]
ledger-cli+...@googlegroups.com.
> For more options, visit [3]
https://groups.google.com/d/optout.
>
> --
>
> ---
> 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 [4]
ledger-cli+...@googlegroups.com.
> For more options, visit [5]
https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:
acob...@gmail.com
> 2. mailto:
ledger-cli+...@googlegroups.com
> 3.
https://groups.google.com/d/optout
> 4. mailto:
ledger-cli+...@googlegroups.com
> 5.
https://groups.google.com/d/optout
--
Ismael