fixed small typos for subexes docs

This commit is contained in:
Araq
2011-12-27 19:47:37 +01:00
parent b336bf4039
commit 8e7917c3f7
2 changed files with 3 additions and 5 deletions

View File

@@ -25,9 +25,9 @@ Notation meaning
``${$1..$2}`` use arguments X to Y where ``X = parseInt(arg[1])``
and ``Y = parseInt(arg[2])``
``$','{1..3}`` use arguments 1 to 3 and join them with ','
``$','80c'\n'{..}`` use all arguments, join them with ','. Insert '\n'
``$','80c'\n'{..}`` use all arguments, join them with ','. Insert '\\n'
before the resulting string exceeds 80 chars.
``$','8i'\n'{..}`` use all arguments, join them with ','. Insert '\n'
``$','8i'\n'{..}`` use all arguments, join them with ','. Insert '\\n'
after every 8th item.
``$' '~{1..3}`` use arguments 1 to 3 with a leading space if the
concatenation of ``1..3`` is not the empty string