Mercurial > hgbook
comparison en/examples/mq.dodiff @ 288:cac3ac4536e5
Better wording, again per Jim Blandy.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 18 Jan 2008 12:01:46 -0800 |
parents | f2061ece8ed9 |
children |
comparison
equal
deleted
inserted
replaced
287:0a5879ea5416 | 288:cac3ac4536e5 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 #$ name: diff | 3 #$ name: diff |
4 | 4 |
5 echo 'this is my first line' > oldfile | 5 echo 'this is my original thought' > oldfile |
6 echo 'my first line is here' > newfile | 6 echo 'i have changed my mind' > newfile |
7 | 7 |
8 diff -u oldfile newfile > tiny.patch | 8 diff -u oldfile newfile > tiny.patch |
9 | 9 |
10 cat tiny.patch | 10 cat tiny.patch |
11 | 11 |