Source

hgbook-it / it / examples / ch10-multiline.go.it

<!-- BEGIN ch10/multiline.go -->
<screen><prompt>$</prompt> <userinput>cat &gt; multiriga &lt;&lt; EOF</userinput>
<prompt>></prompt> <userinput>changeset = "Modificati in {node|short}:\n{files}"</userinput>
<prompt>></prompt> <userinput>file = "  {file}\n"</userinput>
<prompt>></prompt> <userinput>EOF</userinput>
<prompt>$</prompt> <userinput>hg log --style multiriga</userinput>
Modificati in 7daf1d1b51e4:
  .bashrc
  .hgrc
  test.c
</screen>
<!-- END ch10/multiline.go -->