Mercurial > hgbook
view en/examples/mq.dodiff @ 796:5cb09396dc35
add auto-snippets.xml
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 18 Jun 2009 16:41:21 +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