Hello,

I'm having problems with the format parameters when it has spaces in it.

Like if I use the example from manual I get an error:

$ ledger --format "%(account) %(abs(amount))\n" reg assets
Error: Unrecognized command '%(abs(amount))\n'

If I replace the space with a dash it works nice:

$ ledger --format "%(account)-%(abs(amount))\n" reg assets
(it works :P)

I use bash but I don't believe that it's something related to it. I
did some tests with it and the return was:

1: --format
2: %(account) %(abs(amount))\n
3: reg
4: assets

Using Fedora and ledger is 3.1.1-20160111

Thanks in advance,
--
P. F. Smorigo

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to