-
-
Notifications
You must be signed in to change notification settings - Fork 393
directives don't affect other journal files #510
Copy link
Copy link
Open
Labels
A-WISHSome kind of improvement request or proposal.Some kind of improvement request or proposal.docsDocumentation-related.Documentation-related.journalThe journal file format, and its features.The journal file format, and its features.
Description
Metadata
Metadata
Assignees
Labels
A-WISHSome kind of improvement request or proposal.Some kind of improvement request or proposal.docsDocumentation-related.Documentation-related.journalThe journal file format, and its features.The journal file format, and its features.
In the report linked at https://twitter.com/LedgerTips/status/830238616261586945, I wanted to apply some journal directives to affect formatting of the output. I expected this to work:
It didn't, nor does
hledger -f tarsnap.preamble.journal -f tarsnap.journal ..., because directives affect only the file they are in, and not other files specified with additional -f arguments.Ideally, this would just work, but there might be some complexities. Should directives affect subsequent files on the command line, or all files specified ? Should they affect just journal files, or all file types ? Would some directives work differently from others ? (Eg some directives are location-independent and some are not.)