hgbook

view en/examples/mq.dodiff @ 272:74c079e0051f

Account for change in bisect output.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Nov 26 11:18:46 2007 -0800 (2007-11-26)
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