mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 23:45:10 +00:00
better JSON.awk instructions
This commit is contained in:
parent
9c319f84fd
commit
0d50c8df6e
@ -57,14 +57,15 @@ wget -q https://github.com/$(wget -q https://github.com/topkecleon/telegram-bot-
|
|||||||
### use JSON.awk (beta)
|
### 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.
|
[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
|
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:
|
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/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.
|
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)
|
#### [Next Create Bot](1_firstbot.md)
|
||||||
|
|
||||||
#### $$VERSION$$ v1.2-dev2-37-g53c7879
|
#### $$VERSION$$ v1.2-dev2-47-g9c319f8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user