aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-09-29 14:28:33 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-09-29 14:28:33 +0200
commit91af268aeb40ba7adc69a6e1acf89a94466ecb5e (patch)
tree5077c441b655f7deb160501fafec28697cb0ac90 /README.md
parenta8a89b3ed3101981d4d87ce50f924ea499c369fd (diff)
downloadele-91af268aeb40ba7adc69a6e1acf89a94466ecb5e.tar.gz
ele-91af268aeb40ba7adc69a6e1acf89a94466ecb5e.zip
Preserve JSONL record boundaries across input files
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f0d487d..872c0eb 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ usage: aip-filter [-p|--print] [--max-record-bytes N] [--] <expr> [file...]
* `--print` prints the parsed expression instead of evaluating it.
* If no files are given, reads from stdin.
-* Input is newline-delimited JSON, with one value per line. Matching lines are preserved.
+* Input is newline-delimited JSON, with one value per line. Matching lines are preserved, with a newline inserted between records when a preceding input file has no trailing newline. A final unterminated record is otherwise left unchanged.
* An empty filter copies the selected input unchanged; `--print` with an empty filter prints nothing.
* Invalid JSON lines are reported and skipped. Any invalid JSON or input/output error causes a nonzero exit status.
* Records are limited to 8 MiB by default, including the newline. `--max-record-bytes N` sets a positive byte limit. Oversized records are reported and skipped without buffering the rest of the line; later records are still processed and the exit status indicates failure. The limit does not apply to an empty filter, which copies bytes directly.