Mercurial > hgbook
view en/examples/mq.dodiff @ 325:a8269a1b9164
more mq.tex
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Fri, 28 Mar 2008 02:11:02 +0900 |
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