Skip to content

Instantly share code, notes, and snippets.

% ./build/ledger/debug/ledger --version | head -1
Ledger next-0-g3f00f83, the command-line accounting tool
% ./build/ledger/debug/ledger -f doc/sample.dat reg
While parsing file "doc/sample.dat", line 3:
While parsing value expression:
account =~ /^Expenses:Books/
^^^^^^^^^^^^^^^^^
While parsing periodic transaction:
> = account =~ /^Expenses:Books/
Error: std::bad_cast