view en/examples/results/mq.dodiff.diff.out @ 729:ccda4952e5f3

Update Chinese translation
author Dongsheng Song <dongsheng.song@gmail.com>
date Thu, 12 Mar 2009 17:12:18 +0800
parents 0d5935744f87
children 4432ad34b8e5
line wrap: on
line source

<screen><prompt>$</prompt> <userinput>echo 'this is my original thought' &gt; oldfile</userinput>
<prompt>$</prompt> <userinput>echo 'i have changed my mind' &gt; newfile</userinput>
<prompt>$</prompt> <userinput>diff -u oldfile newfile &gt; tiny.patch</userinput>
<prompt>$</prompt> <userinput>cat tiny.patch</userinput>


@@ -1 +1 @@
-this is my original thought
+i have changed my mind
<prompt>$</prompt> <userinput>patch &lt; tiny.patch</userinput>
patching file oldfile
<prompt>$</prompt> <userinput>cat oldfile</userinput>
i have changed my mind
</screen>