Mercurial > hgbook
view en/examples/mq.dodiff @ 275:96ea24a916f9
Merge with myself.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 26 Nov 2007 20:42:36 -0800 |
parents | f2061ece8ed9 |
children | cac3ac4536e5 |
line wrap: on
line source
#!/bin/bash #$ name: diff echo 'this is my first line' > oldfile echo 'my first line is here' > newfile diff -u oldfile newfile > tiny.patch cat tiny.patch patch < tiny.patch cat oldfile