1 | |
2 | Command Language <a class="group-link" href="chap-cmd-lang.html">cmd-lang</a> |
3 | |
4 | |
5 | [Redirect] ysh-here-str read <<< ''' |
6 | [YSH Simple] typed-arg json write (x) |
7 | lazy-expr-arg assert [42 === x] |
8 | block-arg cd /tmp { echo $PWD }; cd /tmp (; ; blockexpr) |
9 | [YSH Cond] ysh-case case (x) { *.py { echo 'python' } } |
10 | ysh-if if (x > 0) { echo } |
11 | [YSH Iter] ysh-for for i, item in (mylist) { echo } |
12 | ysh-while while (x > 0) { echo } |