hgbook

diff en/examples/mq.dodiff.diff.out @ 222:b2b593eb56e7

Add sillybench script.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue May 15 14:52:41 2007 -0700 (2007-05-15)
parents
children bdd271cf1ae1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/examples/mq.dodiff.diff.out	Tue May 15 14:52:41 2007 -0700
     1.3 @@ -0,0 +1,13 @@
     1.4 +$ \textbf{echo 'this is my first line' > oldfile}
     1.5 +$ \textbf{echo 'my first line is here' > newfile}
     1.6 +$ \textbf{diff -u oldfile newfile > tiny.patch}
     1.7 +$ \textbf{cat tiny.patch}
     1.8 +
     1.9 +
    1.10 +@@ -1 +1 @@
    1.11 +-this is my first line
    1.12 ++my first line is here
    1.13 +$ \textbf{patch < tiny.patch}
    1.14 +patching file oldfile
    1.15 +$ \textbf{cat newfile}
    1.16 +my first line is here