diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-09-02T11·23+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-09-02T11·24+0200 |
commit | c28dfc030587cb5a4ccdc71e5f55e708a9aa901d (patch) | |
tree | 2e7056560e185c8e5cf3e97bfe10df1006d096af /doc/manual/writing-nix-expressions.xml | |
parent | e9b92169a5a9d187e32d0ce15ca785eb9f8dce56 (diff) |
Manual: Make '' a bit clearer
Issue #162.
Diffstat (limited to 'doc/manual/writing-nix-expressions.xml')
-rw-r--r-- | doc/manual/writing-nix-expressions.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 76007fe28feb..e155d0e367cd 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -720,12 +720,12 @@ configureFlags = " <para>Since <literal>${</literal> and <literal>''</literal> have special meaning in indented strings, you need a way to quote them. <literal>${</literal> can be escaped by prefixing it with - <literal>''</literal>, i.e., <literal>''${</literal>. - <literal>''</literal> can be escaped by prefixing it with - <literal>'</literal>, i.e., <literal>'''</literal>. Finally, - linefeed, carriage-return and tab characters can be written as - <literal>''\n</literal>, <literal>''\r</literal>, - <literal>''\t</literal>.</para> + <literal>''</literal> (that is, two single quotes), i.e., + <literal>''${</literal>. <literal>''</literal> can be escaped by + prefixing it with <literal>'</literal>, i.e., + <literal>'''</literal>. Finally, linefeed, carriage-return and + tab characters can be written as <literal>''\n</literal>, + <literal>''\r</literal>, <literal>''\t</literal>.</para> <para>Indented strings are primarily useful in that they allow multi-line string literals to follow the indentation of the |