From 7e32b83d779fec08fa055ece6bd936f9efa929a4 Mon Sep 17 00:00:00 2001 From: iarizc Leuname Date: Fri, 29 Apr 2016 20:49:56 +0300 Subject: [PATCH] Manual: rephrase definition for indented strings Closes #15076 --- nixos/doc/manual/configuration/config-file.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/configuration/config-file.xml b/nixos/doc/manual/configuration/config-file.xml index 9b240979273..3d1cdaf4c4a 100644 --- a/nixos/doc/manual/configuration/config-file.xml +++ b/nixos/doc/manual/configuration/config-file.xml @@ -106,11 +106,15 @@ networking.extraHosts = ''; - The main difference is that preceding whitespace is - automatically stripped from each line, and that characters like + The main difference is that it strips from each line + a number of spaces equal to the minimal indentation of + the string as a whole (disregarding the indentation of + empty lines), and that characters like " and \ are not special (making it more convenient for including things like shell - code). + code). + See more info about this in the Nix manual here.