OILS / _devbuild / help / ysh-cmd-lang View on Github | oils.pub

14 lines, 13 significant
1Command Language
2
3 [Commands] simple-command
4 command-lookup-order
5 ysh-prefix-binding
6 semicolon ;
7 [Redirects] ysh-here-str read <<< '''
8 [YSH Simple] typed-arg json write (x)
9 lazy-expr-arg assert [42 === x]
10 block-arg cd /tmp { echo $PWD }; cd /tmp (; ; blockexpr)
11 [YSH Cond] ysh-case case (x) { *.py { echo 'python' } }
12 ysh-if if (x > 0) { echo }
13 [YSH Iter] ysh-for for i, item in (mylist) { echo }
14 ysh-while while (x > 0) { echo }