Mercurial > hgbook
view en/examples/mq.dodiff.diff.out @ 555:b1e84c7882f8
Translated license
author | Igor Támara <igor@tamarapatino.org> |
---|---|
date | Tue, 16 Dec 2008 23:49:47 -0500 |
parents | 7be02466421b |
children |
line wrap: on
line source
$ \textbf{echo 'this is my original thought' > oldfile} $ \textbf{echo 'i have changed my mind' > newfile} $ \textbf{diff -u oldfile newfile > tiny.patch} $ \textbf{cat tiny.patch} @@ -1 +1 @@ -this is my original thought +i have changed my mind $ \textbf{patch < tiny.patch} patching file oldfile $ \textbf{cat oldfile} i have changed my mind