hgbook
annotate en/examples/mq.dodiff.diff.out @ 277:340edf3aaa8e
Fix output.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Dec 11 09:31:35 2007 -0800 (2007-12-11) |
parents | 006bbad1f190 |
children | 7be02466421b |
rev | line source |
---|---|
bos@144 | 1 $ \textbf{echo 'this is my first line' > oldfile} |
bos@144 | 2 $ \textbf{echo 'my first line is here' > newfile} |
bos@144 | 3 $ \textbf{diff -u oldfile newfile > tiny.patch} |
bos@144 | 4 $ \textbf{cat tiny.patch} |
bos@144 | 5 |
bos@144 | 6 |
bos@144 | 7 @@ -1 +1 @@ |
bos@144 | 8 -this is my first line |
bos@144 | 9 +my first line is here |
bos@144 | 10 $ \textbf{patch < tiny.patch} |
bos@144 | 11 patching file oldfile |
bos@253 | 12 $ \textbf{cat oldfile} |
bos@144 | 13 my first line is here |