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