Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to invert all amounts #2314

Open
odavy37 opened this issue Jan 11, 2025 · 1 comment
Open

How to invert all amounts #2314

odavy37 opened this issue Jan 11, 2025 · 1 comment

Comments

@odavy37
Copy link

odavy37 commented Jan 11, 2025

Dear Sir or Madam,

I am using hledger for a long time now.

I figure out that I mistook myself: all amount are inverted.
How can I safely invert all amounts, rewriting my journals?
I did not succeed with linux text comand lines (awk, ...) since there are multiple cases (amount transactions, assertions, FIFO common stocks buy/sell).
Invert option is available for hledger print command, but not for register.

Would you please help me?

Regards,

Olivier

@odavy37
Copy link
Author

odavy37 commented Jan 11, 2025

Sorry, I should have written:

Invert option is available for hledger reg command, but not for print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant