From 17c55c366b70c0d9075cfa7b9ad0098e440d875f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 14 Nov 2025 05:39:28 -1000 Subject: [PATCH] ;doc:csv:source: wording --- hledger/hledger.m4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 8fc6b63b1..843dfbee8 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -3391,9 +3391,9 @@ Or the source rule can specify a data-generating command, with no file pattern: In this case the command receives no input; it should output CSV data suitable for the conversion rules. --> -### Data cleaning / generating commands +### Data cleaning / data generating commands -After `source`'s file pattern, you can write `|` (pipe) and a data cleaning command. +After `source`'s file pattern, you can write `|` (pipe) and a data cleaning command (or command pipeline). If hledger's CSV rules aren't enough, you can pre-process the downloaded data here with a shell command or script, to make it more suitable for conversion. The command will be executed by your default shell, in the directory of the rules file, will receive the data file's content as standard input, and should output zero or more lines of character-separated-values, suitable for conversion by the CSV rules.