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-test ${x:-default} |
10 | op-strip ${x%%suffix} etc. |
11 | op-patsub ${x//y/z} |
12 | op-index ${a[i+1} |
13 | op-slice ${a[@]:0:1} |
14 | op-format ${x@P} |