hgbook

diff en/examples/results/mq.dodiff.diff.out @ 564:0d5935744f87

Switch from LaTeX to XML for examples.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Mar 09 21:39:23 2009 -0700 (2009-03-09)
parents 44d1363234d2
children 4432ad34b8e5
line diff
     1.1 --- a/en/examples/results/mq.dodiff.diff.out	Mon Mar 09 21:37:47 2009 -0700
     1.2 +++ b/en/examples/results/mq.dodiff.diff.out	Mon Mar 09 21:39:23 2009 -0700
     1.3 @@ -1,13 +1,14 @@
     1.4 -$ \textbf{echo 'this is my original thought' > oldfile}
     1.5 -$ \textbf{echo 'i have changed my mind' > newfile}
     1.6 -$ \textbf{diff -u oldfile newfile > tiny.patch}
     1.7 -$ \textbf{cat tiny.patch}
     1.8 +<screen><prompt>$</prompt> <userinput>echo 'this is my original thought' &gt; oldfile</userinput>
     1.9 +<prompt>$</prompt> <userinput>echo 'i have changed my mind' &gt; newfile</userinput>
    1.10 +<prompt>$</prompt> <userinput>diff -u oldfile newfile &gt; tiny.patch</userinput>
    1.11 +<prompt>$</prompt> <userinput>cat tiny.patch</userinput>
    1.12  
    1.13  
    1.14  @@ -1 +1 @@
    1.15  -this is my original thought
    1.16  +i have changed my mind
    1.17 -$ \textbf{patch < tiny.patch}
    1.18 +<prompt>$</prompt> <userinput>patch &lt; tiny.patch</userinput>
    1.19  patching file oldfile
    1.20 -$ \textbf{cat oldfile}
    1.21 +<prompt>$</prompt> <userinput>cat oldfile</userinput>
    1.22  i have changed my mind
    1.23 +</screen>