colindean / plaintextaccounting_workshop

An Introduction and Then Some to Plain Text Accounting with Ledger
Other
55 stars 3 forks source link

Suggested sort option no longer available #4

Closed colindean closed 4 years ago

colindean commented 4 years ago

In what Chapter/Section is the bug?

6.6

Describe the bug

➜  ledger -f ex.ledger balance Assets Liabilities --sort x
While evaluating value expression:
  x
  ^
Error: Unknown identifier 'x'
➜  ledger -f ex.ledger balance Assets Liabilities --sort X
While evaluating value expression:
  X
  ^
Error: Unknown identifier 'X'
➜  ledger -f ex.ledger balance Assets Liabilities --sort v
Error: The V and v value expression variables are no longer supported

Expected behavior

These should not be present if they don't work!

What version do you have?

2020.07.24.0

colindean commented 4 years ago

These not working suggests that the ledger docs are out of date at https://www.ledger-cli.org/3.0/doc/ledger3.html#Value-Expressions in section 11.1.1.

colindean commented 4 years ago

https://github.com/ledger/ledger/blob/41ca4a7551cdc0e06496006d2adb1f62ba5dab5b/doc/ledger3.texi#L7991-L8033 seems to be the problem area in the docs

colindean commented 4 years ago

NEVERMIND. The report type was balance and these sorts don't work there.