Mercurial > hgbook
view en/examples/mq.dodiff @ 72:12df31afb4e1
Propagate exceptions more correctly.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 29 Aug 2006 22:34:03 -0700 |
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