File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,16 @@ Changes
66
66
```
67
67
- Speed up and refactor some builtins, also remove ` scalars_or_empty/0 ` . #1845 @muhmuhten
68
68
- Add ` --binary ` /` -b ` on Windows for binary output. To get ` \n ` instead of ` \r\n ` line endings. 0dab2b1 @nicowilliams
69
- - Add ` --nul-output ` /` -0 ` for null (zero byte) separated output. #1990 @pabs3
69
+ - Add ` --nul-output ` /` -0 ` for null (zero byte) separated output. #1990 @pabs3 , # 2235 @ asottile
70
70
``` sh
71
+ # will output a zero byte between outputs
71
72
$ jq -n0 ' 1,2,3' | xxd
72
73
00000000: 3100 3200 3300 1.2.3.
74
+ # can for example be used with xargs -0
75
+ $ jq -n -0 1,2,3 | xargs -0 -n1
76
+ 1
77
+ 2
78
+ 3
73
79
```
74
80
- Fix issue converting string to number after previous convert error. #2400 @thalman
75
81
You can’t perform that action at this time.
0 commit comments