hgbook

view ja/examples/mq.dodiff.diff.out @ 708:d6ca1334a19d

Japanese translation on a24b370a16ee
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri Jul 31 19:49:16 2009 +0900 (2009-07-31)
parents
children
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