From e704c90b50ff7638d2bdfec5ea50903e6c43e5a7 Mon Sep 17 00:00:00 2001 From: NotaseCretagen Date: Sat, 30 Apr 2016 14:14:06 +0300 Subject: [PATCH] Manual: rephrase definition for indented strings (#15086) Closes #15076 --- nixos/doc/manual/configuration/config-file.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/configuration/config-file.xml b/nixos/doc/manual/configuration/config-file.xml index 9b240979273..645257687fd 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). + See more info about this in the Nix manual here.