Mercurial > hgbook
view en/examples/mq.dodiff.diff.out @ 289:7be02466421b
Oops, forgot to update the output
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 18 Jan 2008 12:05:01 -0800 |
parents | bdd271cf1ae1 |
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