hgbook
view en/examples/mq.dodiff.diff.out @ 259:b42689a730a2
Typo
author | Johannes Hoff <wbunaarfubss@gmail.com> |
---|---|
date | Sun Jun 17 11:42:14 2007 +0200 (2007-06-17) |
parents | 006bbad1f190 |
children | 7be02466421b |
line source
1 $ \textbf{echo 'this is my first line' > oldfile}
2 $ \textbf{echo 'my first line is here' > newfile}
3 $ \textbf{diff -u oldfile newfile > tiny.patch}
4 $ \textbf{cat tiny.patch}
7 @@ -1 +1 @@
8 -this is my first line
9 +my first line is here
10 $ \textbf{patch < tiny.patch}
11 patching file oldfile
12 $ \textbf{cat oldfile}
13 my first line is here