hgbook

view en/examples/mq.dodiff @ 279:3c14c304d823

Ignore more junk.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Dec 11 09:31:58 2007 -0800 (2007-12-11)
parents dd657c4d3a47
children cac3ac4536e5
line source
1 #!/bin/bash
3 #$ name: diff
5 echo 'this is my first line' > oldfile
6 echo 'my first line is here' > newfile
8 diff -u oldfile newfile > tiny.patch
10 cat tiny.patch
12 patch < tiny.patch
14 cat oldfile