1 | Word Language |
2 | |
3 | [Quotes] osh-string 'abc' $'line\n' "$var" |
4 | [Substitutions] command-sub $(command) `command` |
5 | var-sub ${var} $0 $9 |
6 | arith-sub $((1 + 2)) |
7 | tilde-sub ~/src |
8 | proc-sub diff <(sort L.txt) <(sort R.txt) |
9 | [Var Ops] op-bracket ${a[i+1]}, ${a[*]} |
10 | op-indirect ${!x} |
11 | op-test ${x:-default} |
12 | op-strip ${x%%suffix} etc. |
13 | op-patsub ${x//y/z} |
14 | op-slice ${a[@]:0:1} |
15 | op-format ${x@P} ${x@Q} etc. |