That is actually trivial: ledger -f original --sort d print >> datesorted
I use that to clean up my ledger files periodically. On Tue, Oct 9, 2012 at 12:53 PM, Zack Williams <[email protected]> wrote: > > I think it needs at least an option not to; my use case for parsing in > > textual order has transactions with dates relevant to me, interspersed > > with assertions at the bank's statement date. (It is mildly common for > > transactions to "cross", as it were, with the statement, so that the > > statement date comes after some transactions labelled with my dates that > > are not accounted for in that statement). > > It may be simpler to write a script that reorders the input file in date > order. > > - Zack > -- Craig, Corona De Tucson, AZ enderw88.wordpress.com
