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