1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

* Syntax to escape '', ${.

This commit is contained in:
Eelco Dolstra 2007-12-06 10:20:58 +00:00
parent d4950f207f
commit b42ef9c054
3 changed files with 20 additions and 2 deletions

View file

@ -104,4 +104,10 @@ let
exec ${"slim"}/bin/slim
'';
in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13
s14 = ''
Escaping of ' followed by ': '''
Escaping of $ followed by {: ''${
And finally to interpret \n etc. as in a string: ''\n, ''\r, ''\t.
'';
in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14