Add -0 / --nul-output option for processing values containing newlines
Closes: https://github.com/stedolan/jq/issues/1271
This commit is contained in:
1 parent
707022b0e5
commit
24564b2d34
2 files changed
+12
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user