OILS / _devbuild / help / ysh-word-lang View on Github | oils.pub

14 lines, 13 significant
1Word Language
2
3 [Joining] ysh-word-join --flag='value' PATH="value"
4 [Quotes] ysh-string "x is $x" $"x is $x" r'[a-z]\n'
5 u'line\n' b'byte \yff'
6 triple-quoted """ $""" r''' u''' b'''
7 X tagged-str "<span id=$x>"html
8 [Substitutions] expr-sub echo $[42 + a[i]]
9 expr-splice echo @[split(x)]
10 var-splice @myarray @ARGV
11 command-sub $(date)
12 ysh-command-sub @(cat my-j8-lines.txt)
13 [Formatting] X ysh-printf ${x %.3f}
14 X ysh-format ${x|html}