On 06/09/2016 04:24 PM, 4levels wrote:
> 'd like to know if there's an easy way to strip off the trailing newline
> from a file read with builtins.readFile.

lib.removeSuffix "\n"

--Vladimir


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to