hgbook
view en/examples/results/mq.dodiff.diff.out @ 563:44d1363234d2
Move example output files into examples/results
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 09 21:37:47 2009 -0700 (2009-03-09) |
parents | en/examples/mq.dodiff.diff.out@7be02466421b |
children | 0d5935744f87 |
line source
1 $ \textbf{echo 'this is my original thought' > oldfile}
2 $ \textbf{echo 'i have changed my mind' > newfile}
3 $ \textbf{diff -u oldfile newfile > tiny.patch}
4 $ \textbf{cat tiny.patch}
7 @@ -1 +1 @@
8 -this is my original thought
9 +i have changed my mind
10 $ \textbf{patch < tiny.patch}
11 patching file oldfile
12 $ \textbf{cat oldfile}
13 i have changed my mind