I was hoping someone could advise me on a problem.  I have two ledger files 
where there is some overlap in one particular account.  I would like to 
combine the two files - without the overlap - and sort the entries by 
date.  It seems that PRINT would be ideal for this, since I can append the 
first file to the second and then sort by date when printing.  But I am 
having trouble with eliminating the overlap.  What I would like to do is 
eliminate the redundant account in the first file before I append it to the 
second, but when I try to PRINT with a negating regex, it doesn't work.  So 
when I type:

ledger print not "Account:Redundant" > new_file

It sill has "Account:Redundant" entries in new_file.

How do I use PRINT while negating a string?  Thanks in advance for any 
advice.

-- 

--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/22be1400-ec02-4f69-b01f-66f3af913d27%40googlegroups.com.

Reply via email to