From 0d50c8df6ec762f4bcacc40051e1fba6291848b4 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sat, 19 Dec 2020 22:10:06 +0100 Subject: [PATCH] better JSON.awk instructions --- doc/0_install.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/0_install.md b/doc/0_install.md index 41d4cf4..ed17a7b 100644 --- a/doc/0_install.md +++ b/doc/0_install.md @@ -57,14 +57,15 @@ wget -q https://github.com/$(wget -q https://github.com/topkecleon/telegram-bot- ### use JSON.awk (beta) [JSON.awk](https://github.com/step-/JSON.awk) is an awk port of `JSON.sh`, it provides the same functionality but is 5 times faster. -Systems with `gnu awk` and `posix awk` as system default can use `JSON.awk` as drop in replacement. +Most systems with awk can use `JSON.awk` as drop in replacement +( [gnu awk, posix awk, mawk, busybox akw](https://github.com/step-/JSON.awk#compatibility-with-awk-implementations) ). -Systems with `Busybox awk` or `mawk` may need some tweaks, [see Compatibility](https://github.com/step-/JSON.awk#compatibility-with-awk-implementations). BSD and MacOS users must install `gnu awk` and adjust the shebang, see below To install 'JSON.awk' download the file from githup and save it in the same folder as JSON.sh file: wget https://raw.githubusercontent.com/step-/JSON.awk/master/JSON.awk + wget https://raw.githubusercontent.com/step-/JSON.awk/master/tool/patch-for-busybox-awk.sh After you have checked that 'JSON.awk' is working correct on your system make the script executable and (re)start bashbot. @@ -183,5 +184,5 @@ The old format is supported for backward compatibility, but may fail for corner #### [Next Create Bot](1_firstbot.md) -#### $$VERSION$$ v1.2-dev2-37-g53c7879 +#### $$VERSION$$ v1.2-dev2-47-g9c319f8