Index: en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml @@ -164,25 +164,54 @@ - - UCL allows for two kind of strings, either delimited - by double quotes - "foo", or as a - here document. These two - are equivalent: + + UCL Short Strings + The message is delimited by double quotes + "foo", + this is usually used for single line strings: + [ { message: "Always displayed" } ] + + + UCL Multiline Strings + + For multiline strings, it uses shell/perl like + notation. The multiline terminator must start just + after << symbols and it must consist of capital + letters only: + [ { message: <<EOM -Always displayed +some text +splitted to +lines EOM } ] - + + To finish multiline string you need to include + a terminator string just after newline and followed + by a newline (no spaces or other characters are + allowed as well) notation. The initial and the final + newlines are not inserted to the resulting string, + but you can still specify newlines at the beginning + and at the end of a value: + + [ +{ message: <<EOM + +some +text + +EOM +} +] + To preserve the compatibility with non