mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-04-11 08:31:51 +00:00
fix doc
This commit is contained in:
parent
d9d360e772
commit
e835bbc408
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Check bash installation
|
## Check bash installation
|
||||||
|
|
||||||
There may be systems where bash seems to be installed but it is not, e.g. embedded systems, or version is to old.
|
There may systems where bash seems to be installed but it is not, e.g. embedded systems, or where bash is to old.
|
||||||
Run the following commands to see if your bash looks ok ...
|
Run the following commands to see if your bash looks ok ...
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -12,8 +12,8 @@ if which bash; then echo "bash seems available..."; else echo "NO bash"; fi
|
|||||||
# real bash supports ARRAY
|
# real bash supports ARRAY
|
||||||
bash -c 'if eval "a=(1)"; then echo "Shell support arrays..."; else echo "Shell has NO arrays"; fi'
|
bash -c 'if eval "a=(1)"; then echo "Shell support arrays..."; else echo "Shell has NO arrays"; fi'
|
||||||
|
|
||||||
# check for version by feature
|
# check for bash version by feature
|
||||||
bash -c 'if [ "$(echo -e "\u1111")" != "\u1111" ]; then echo "Bash version ok ..."; else echo "Bash Version NOT ok"; fi'
|
bash -c 'if [ "$(echo -e "\u1111")" != "\u1111" ]; then echo "Bash version ok ..."; else echo "LBash Version may be to old ..."; fi'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install bashbot
|
## Install bashbot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user