Mercurial > hgbook
view en/examples/mq.dodiff @ 824:c8d662d3cb40
Improve chapter 1 further, based on comments.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 03 May 2009 19:23:08 -0700 |
parents | cac3ac4536e5 |
children |
line wrap: on
line source
#!/bin/bash #$ name: diff echo 'this is my original thought' > oldfile echo 'i have changed my mind' > newfile diff -u oldfile newfile > tiny.patch cat tiny.patch patch < tiny.patch cat oldfile