OILS / _devbuild / help / ysh-word-lang View on Github | oilshell.org

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