diff options
author | Paul Wise <pabs3@bonedaddy.net> | 2019-10-14 12:55:30 +0800 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2019-12-30 15:37:14 -0600 |
commit | 24564b2d345398a818eb74a194faf3733655d73a (patch) | |
tree | 4d2ecea17b37e2f9f4aa614419d850cc9a1e0219 /docs | |
parent | 707022b0e5d2b1c7b8a55e3c4f4ab539e05a9086 (diff) |
Add -0 / --nul-output option for processing values containing newlines
Closes: https://github.com/stedolan/jq/issues/1271
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/manual/manual.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index 578517be..f50f0e62 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -199,6 +199,11 @@ sections: Like `-r` but jq won't print a newline after each output. + * `--nul-output` / `-0`: + + Like `-r` but jq will print NUL instead of newline after each output. + This can be useful when the values being output can contain newlines. + * `-f filename` / `--from-file filename`: Read filter from the file rather than from a command line, like |