hgbook

view en/examples/mq.diff @ 36:5cee64874312

Require examples to be executable, so it's easier to see them with "ls".
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Jul 17 00:00:12 2006 -0700 (2006-07-17)
parents 187702df428b
children
line source
1 #$ name: diff
3 echo 'this is my first line' > oldfile
4 echo 'my first line is here' > newfile
6 diff -u oldfile newfile > tiny.patch
8 cat tiny.patch
10 patch < tiny.patch
12 cat newfile