Mercurial > hgbook
view en/examples/mq.dodiff @ 137:9d7dffe74b2c
Save "good" example output so we can see if something has broken.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 05 Mar 2007 23:56:30 -0800 |
parents | dd657c4d3a47 |
children | f2061ece8ed9 |
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 newfile