;doc: csv: try to clarify how CSV fields and hledger fields work
This commit is contained in:
parent
bcf6a01c13
commit
1c9a44cae9
@ -3071,7 +3071,7 @@ Note the two kinds of "field names" used in hledger CSV rules:
|
|||||||
1. **CSV field names** (`CSVFIELD` in examples):\
|
1. **CSV field names** (`CSVFIELD` in examples):\
|
||||||
These are arbitrary names you have given to columns in the CSV data, by writing them in a `fields` list.
|
These are arbitrary names you have given to columns in the CSV data, by writing them in a `fields` list.
|
||||||
This does not affect hledger's output (at least not directly); it only gives that CSV field a custom name,
|
This does not affect hledger's output (at least not directly); it only gives that CSV field a custom name,
|
||||||
so that elsewhere, in a hledger field assignment, you can interpolate it by name (`%SomeField`) rather than column number (`%13`).
|
so that elsewhere, in a field assignment rule, you can interpolate it by name (`%SomeField`) rather than column number (`%13`).
|
||||||
|
|
||||||
2. **hledger field names** (`HLEDGERFIELD` in examples):\
|
2. **hledger field names** (`HLEDGERFIELD` in examples):\
|
||||||
These are special reserved names corresponding (directly or indirectly) to parts of a hledger transaction.
|
These are special reserved names corresponding (directly or indirectly) to parts of a hledger transaction.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user