## Uncleared Header
`^(\d{4,}/\d{2,}/\d{2,}) ([^*].*)$`
## Set to cleared
`$1 * $2`
This is exactly what I was looking for.
Many thanks for the LIFE hack approach in addition to the technical solution.
-Jimi
* Taylor R Campbell <camp...@mumble.net> [2019-08-14 21:04]:
--
---
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 ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/5dcf74ac-4798-4693-932c-e8fd428b8147%40googlegroups.com.
Clearing that way is really cumbersome, isn't nearly as scriptable as the method mentioned and really doesn't jive well with modern day Cryptocurrency / block chain solutions.
It's actually pretty easy to reconcile two statements if they can both agree upon a common UUID ( or something similar like Check number) for the transaction that occurred between them both.This is what I meant by the "Cryptocurrency / block chain" solution where each transaction has a unique identifier.Each transaction would be sacrosanct and uniquely named so there would be no need to go back and mark either transaction as "cleared".That suits my needs better than having to manually go through and hand edit my ledger files after the fact. I know that this kind of goes against the default standard of accounting, but I feel like that is going to be replaced with more of these electronic transactions.
But then you have an `asset' account with negative balance, until the
cheque clears. It's not obvious to me whether it's better to label
this as an asset so it stays in `Assets:Bank', or whether to label it
as a liabilitiy since it's negative. Either way `ledger balance bank'
reports the available balance in this system.