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

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