That works great!  Thanks!

And by extension, I found a version that will find the transactions posted in the wrong currency for the account they're in. As in:

./ledger reg -l 'commodity="GBP"' Assets:Checking:US

So I can find the transaction on my bank statement and update with the appropriate exchange rate. Cool!


On 2009-Jul-31, at 09:05, John Wiegley wrote:



On Jul 31, 2009, at 1:50 AM, Ben Alexander wrote:

I use three letter currency codes for all my currencies (alas, the list include USD, EUR, GBP, and RON). Sometimes I add a whole bunch of transactions to my ledger and notice that I've forgotten to include the currency. Is there a way to have 'ledger reg' command match only uncurrencied transactions?

Try this: -l '!commodity'

I use ledger-current.dmg.zip for the Mac, but it doesn't come with any documentation. The v2.6.1 documentation isn't appropriate anymore. Is there an updated info file for v3.0?

Still working on it.

John

Reply via email to