hgbook

view en/examples/results/mq.dodiff.diff.out @ 611:4432ad34b8e5

Check in example outputs with begin/end markers.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 31 12:19:01 2009 -0700 (2009-03-31)
parents 0d5935744f87
children
line source
1 <!-- BEGIN mq.dodiff.diff -->
2 <screen><prompt>$</prompt> <userinput>echo 'this is my original thought' &gt; oldfile</userinput>
3 <prompt>$</prompt> <userinput>echo 'i have changed my mind' &gt; newfile</userinput>
4 <prompt>$</prompt> <userinput>diff -u oldfile newfile &gt; tiny.patch</userinput>
5 <prompt>$</prompt> <userinput>cat tiny.patch</userinput>
8 @@ -1 +1 @@
9 -this is my original thought
10 +i have changed my mind
11 <prompt>$</prompt> <userinput>patch &lt; tiny.patch</userinput>
12 patching file oldfile
13 <prompt>$</prompt> <userinput>cat oldfile</userinput>
14 i have changed my mind
15 </screen>
16 <!-- END mq.dodiff.diff -->