Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
step- committed Dec 14, 2020
1 parent f089b1d commit 50c3a82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions doc/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a name="busybox_awk"></a>
**Busybox awk**

* [How run run JSON.awk with busybox awk](#8)
* [How to run JSON.awk with busybox awk](#8)

[top](#0)

Expand Down Expand Up @@ -137,14 +137,15 @@ to know why this works.
[top](#0)

<a name="8"></a>
## 8. [How run run JSON.awk with busybox awk
## 8. [How to run JSON.awk with busybox awk

Since JSON.awk version 1.4.1 the source code must be patched in order to run
with busybox awk. The patch is very simple: replace the literal string `\000`
under busybox awk. The patch is very simple: replace the literal string `\000`
(four characters) with the literal string `\001` everywhere in file JSON.awk.
Busybox awk does not support the NUL character. However, the JSON spec
considers NUL a valid input character. So long as your input JSON texts do
not include NUL characters, you will not notice a difference between the
patched and unpatched source code.
patched and unpatched source code. To apply the patch you can run script
`patch-for-busybox-awk.sh` in the root folder of the repository.

[top](#0)
2 changes: 1 addition & 1 deletion doc/JSONTestSuite/results/full_results.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Test results comparing three JSON.awk variants and JQ
# Test results comparing three JSON.awk 1.4.1 variants and JQ

[Test methodology](http://seriot.ch/parsing_json.php)

Expand Down

0 comments on commit 50c3a82

Please sign in to comment.