From c28dfc030587cb5a4ccdc71e5f55e708a9aa901d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 2 Sep 2013 13:23:07 +0200 Subject: Manual: Make '' a bit clearer Issue #162. --- doc/manual/writing-nix-expressions.xml | 12 ++++++------ 1 file 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 = " Since ${ and '' have special meaning in indented strings, you need a way to quote them. ${ can be escaped by prefixing it with - '', i.e., ''${. - '' can be escaped by prefixing it with - ', i.e., '''. Finally, - linefeed, carriage-return and tab characters can be written as - ''\n, ''\r, - ''\t. + '' (that is, two single quotes), i.e., + ''${. '' can be escaped by + prefixing it with ', i.e., + '''. Finally, linefeed, carriage-return and + tab characters can be written as ''\n, + ''\r, ''\t. Indented strings are primarily useful in that they allow multi-line string literals to follow the indentation of the -- cgit 1.4.1