OILS / _devbuild / help / ysh-usage View on Github | oilshell.org

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