[Nix-dev] Empty string in single quotes
Christian Theune
ct at flyingcircus.io
Tue Mar 8 10:30:29 CET 2016
Hi,
there’s a short paragraph in the manual:
https://nixos.org/nix/manual/#idm46912467695696 <https://nixos.org/nix/manual/#idm46912467695696>
The result would be:
‘'
‘’'
‘'
A single quote is used to quoute two-single-quotes. I had to read this thrice, too. :)
Christian
> On 08 Mar 2016, at 10:24, Игорь Пашев <pashev.igor at gmail.com> wrote:
>
> Hi all.
>
>
> How can I write an empty string between single quotes
> when using two single quotes syntax?
>
> This does the trick:
> ''
> ${"''"}
> ''
>
> Where is the best place to ask or to find answer for such questions?
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
--
Christian Theune · ct at flyingcircus.io · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160308/cd74f35d/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160308/cd74f35d/attachment-0001.bin
More information about the nix-dev
mailing list