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

15 lines, 14 significant
1Word Language
2
3 [Glob] ysh-glob *.py
4 [Joining] ysh-word-join --flag='value' PATH="value"
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 $(date)
13 command-splice @(cat my-j8-lines.txt)
14 [Formatting] X ysh-printf ${x %.3f}
15 X ysh-format ${x|html}