Mercurial > hgbook
view ja/examples/mq.dodiff @ 795:4eb02bea1666
Propagate 40025381bded
Get the copyright years right
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 18 Jun 2009 16:23:58 +0900 |
parents | b0db5adf11c1 |
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