1 | bin/ysh is the shell with data tYpes, influenced by pYthon, JavaScript, ... |
2 | |
3 | Usage: ysh FLAG* SCRIPT ARG* |
4 | ysh FLAG* -c COMMAND ARG* |
5 | ysh FLAG* |
6 | |
7 | Examples: |
8 | |
9 | ysh -c 'echo hi' |
10 | ysh myscript.ysh |
11 | echo 'echo hi' | ysh |
12 | |
13 | bin/ysh is the same as bin/osh with a the ysh:all option group set. So bin/ysh |
14 | also accepts shell flags. Examples: |
15 | |
16 | bin/ysh -n myfile.ysh |
17 | bin/ysh +o errexit -c 'false; echo ok' |