diff options
author | Jose Luis Duran <jlduran@gmail.com> | 2024-10-25 13:20:53 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2024-10-25 13:23:02 +0000 |
commit | 3ab8697d9e45adc504142a4aa06d2b5c9245f4e6 (patch) | |
tree | 0e49e34ca15f58456489c560d6cec11cd4ee00d5 /libexec/pppoed/Makefile.depend | |
parent | 7d875598fc9fdbe554644fc1109645362f21b824 (diff) | |
download | src-main.tar.gz src-main.zip |
Store the json blobs in temporary files instead of variables, and feed
them to jq for parsing.
When echoing "\n", the new line will become a literal new line, and
therefore, invalid json input:
```
jq: parse error: Invalid string: control characters from U+0000 through U+001F must be escaped ...
```
To reproduce:
% git arc patch -c D12345
Reviewed by: 0mp, imp, markj
Approved by: markj (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D46767
Diffstat (limited to 'libexec/pppoed/Makefile.depend')
0 files changed, 0 insertions, 0 deletions