hgbook

view en/examples/mq.dodiff @ 253:bdd271cf1ae1

Update expected output.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed May 30 22:05:35 2007 -0700 (2007-05-30)
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