hgbook

view en/examples/mq.dodiff @ 261:a24b370a16ee

Fix escaping.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun Jun 17 11:21:32 2007 -0700 (2007-06-17)
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